pub trait CreateFrom: Sized {
// Required method
fn create_from<B>(reader: &mut Reader<B>) -> Self
where B: BufferRef;
}Required Methods§
fn create_from<B>(reader: &mut Reader<B>) -> Selfwhere
B: BufferRef,
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.
Implementations on Foreign Types§
Source§impl CreateFrom for f32
impl CreateFrom for f32
Source§impl CreateFrom for i32
impl CreateFrom for i32
Source§impl CreateFrom for u32
impl CreateFrom for u32
Source§impl CreateFrom for LinearRgba
Available on crate feature encase only.
impl CreateFrom for LinearRgba
Available on crate feature
encase only.