pub trait FixedIntWriter {
// Required method
fn write_fixedint<FI: FixedInt>(&mut self, n: FI) -> Result<usize>;
}
Expand description
A trait for writing integers without encoding (i.e. FixedInt
) to any Write
type.
Required Methods§
fn write_fixedint<FI: FixedInt>(&mut self, n: FI) -> Result<usize>
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.