pub trait ReadFrom {
// Required method
fn read_from<B>(&mut self, reader: &mut Reader<B>)
where B: BufferRef;
}
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.
Implementations on Foreign Types§
Source§impl ReadFrom for Option<NonZeroI32>
impl ReadFrom for Option<NonZeroI32>
Source§impl ReadFrom for Option<NonZeroU32>
impl ReadFrom for Option<NonZeroU32>
Source§impl ReadFrom for Mat3where
Self: AsMutMatrixParts<f32, 3, 3> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + ReadFrom,
Available on crate feature glam
only.
impl ReadFrom for Mat3where
Self: AsMutMatrixParts<f32, 3, 3> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + ReadFrom,
Available on crate feature
glam
only.Source§impl ReadFrom for Mat2where
Self: AsMutMatrixParts<f32, 2, 2> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + ReadFrom,
Available on crate feature glam
only.
impl ReadFrom for Mat2where
Self: AsMutMatrixParts<f32, 2, 2> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + ReadFrom,
Available on crate feature
glam
only.Source§impl ReadFrom for Mat4where
Self: AsMutMatrixParts<f32, 4, 4> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + ReadFrom,
Available on crate feature glam
only.
impl ReadFrom for Mat4where
Self: AsMutMatrixParts<f32, 4, 4> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + ReadFrom,
Available on crate feature
glam
only.