pub trait VariableFormat {
type Extra: Default;
// Required method
fn format<E>(
&self,
out: &mut E,
depth: usize,
extra: &mut Self::Extra,
) -> Result<()>
where E: ElementFormat;
}
Required Associated Types§
Required Methods§
fn format<E>(
&self,
out: &mut E,
depth: usize,
extra: &mut Self::Extra,
) -> Result<()>where
E: ElementFormat,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.