pub trait Frameable {
const CRFRAMEOBJECT_TYPE: CRFrameObjectType;
// Provided method
fn pack(&self) -> CRFrameObject
where Self: CRSerializeable { ... }
}
Expand description
Allows to pack a certain structure within a CRFrameObject
Required Associated Constants§
Provided Methods§
Sourcefn pack(&self) -> CRFrameObjectwhere
Self: CRSerializeable,
fn pack(&self) -> CRFrameObjectwhere
Self: CRSerializeable,
Wrap myself in a TofPacket
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.