pub trait PartialBox {
type ParentData;
type ThisData;
const ID: BoxType;
// Required method
fn byte_size(&self) -> usize;
}
Required Associated Constants§
Required Associated Types§
type ParentData
type ThisData
Required Methods§
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.