Trait burn::module::ModuleDisplayDefault
pub trait ModuleDisplayDefault {
// Required method
fn content(&self, _content: Content) -> Option<Content>;
// Provided method
fn num_params(&self) -> usize { ... }
}
Expand description
Default display settings for a module.
Required Methods§
Provided Methods§
fn num_params(&self) -> usize
fn num_params(&self) -> usize
Gets the number of the parameters of the module.