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