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".
Implementations on Foreign Types§
Source§impl<T> ReadFrom for LinkedList<T>where
T: CreateFrom + ReadFrom,
LinkedList<T>: Truncate + Length + Extend<T> + ShaderType<ExtraMetadata = ArrayMetadata>,
&'a mut LinkedList<T>: for<'a> IntoIterator<Item = &'a mut T>,
impl<T> ReadFrom for LinkedList<T>where
T: CreateFrom + ReadFrom,
LinkedList<T>: Truncate + Length + Extend<T> + ShaderType<ExtraMetadata = ArrayMetadata>,
&'a mut LinkedList<T>: for<'a> IntoIterator<Item = &'a mut T>,
Source§impl<T> ReadFrom for VecDeque<T>where
T: CreateFrom + ReadFrom,
VecDeque<T>: Truncate + Length + Extend<T> + ShaderType<ExtraMetadata = ArrayMetadata>,
&'a mut VecDeque<T>: for<'a> IntoIterator<Item = &'a mut T>,
impl<T> ReadFrom for VecDeque<T>where
T: CreateFrom + ReadFrom,
VecDeque<T>: Truncate + Length + Extend<T> + ShaderType<ExtraMetadata = ArrayMetadata>,
&'a mut VecDeque<T>: for<'a> IntoIterator<Item = &'a mut T>,
Source§impl<T> ReadFrom for [T]where
T: CreateFrom + ReadFrom,
[T]: Truncate + Length + Extend<T> + ShaderType<ExtraMetadata = ArrayMetadata>,
&'a mut [T]: for<'a> IntoIterator<Item = &'a mut T>,
impl<T> ReadFrom for [T]where
T: CreateFrom + ReadFrom,
[T]: Truncate + Length + Extend<T> + ShaderType<ExtraMetadata = ArrayMetadata>,
&'a mut [T]: for<'a> IntoIterator<Item = &'a mut T>,
Implementors§
impl ReadFrom for ArrayLength
impl ReadFrom for ColorGradingUniform
impl ReadFrom for GlobalsUniformwhere
GlobalsUniform: ShaderType<ExtraMetadata = StructMetadata<3>>,
f32: for<'__> ReadFrom + for<'__> ReadFrom,
u32: for<'__> ReadFrom,
impl ReadFrom for GpuBinMetadatawhere
GpuBinMetadata: ShaderType<ExtraMetadata = StructMetadata<3>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for GpuBinUnpackingMetadatawhere
GpuBinUnpackingMetadata: ShaderType<ExtraMetadata = StructMetadata<4>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
[u32; 61]: for<'__> ReadFrom,
impl ReadFrom for GpuRenderBinnedMeshInstancewhere
GpuRenderBinnedMeshInstance: ShaderType<ExtraMetadata = StructMetadata<2>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for GpuUniformAllocationMetadatawhere
GpuUniformAllocationMetadata: ShaderType<ExtraMetadata = StructMetadata<5>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
[u32; 60]: for<'__> ReadFrom,
impl ReadFrom for IVec2
impl ReadFrom for IVec3
impl ReadFrom for IVec4
impl ReadFrom for IndirectBatchSetwhere
IndirectBatchSet: ShaderType<ExtraMetadata = StructMetadata<2>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for IndirectParametersBuildJobwhere
IndirectParametersBuildJob: ShaderType<ExtraMetadata = StructMetadata<5>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
[UVec4; 15]: for<'__> ReadFrom,
impl ReadFrom for IndirectParametersIndexedwhere
IndirectParametersIndexed: ShaderType<ExtraMetadata = StructMetadata<5>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for IndirectParametersMetadatawhere
IndirectParametersMetadata: ShaderType<ExtraMetadata = StructMetadata<5>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for IndirectParametersNonIndexedwhere
IndirectParametersNonIndexed: ShaderType<ExtraMetadata = StructMetadata<4>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for LatePreprocessWorkItemIndirectParameterswhere
LatePreprocessWorkItemIndirectParameters: ShaderType<ExtraMetadata = StructMetadata<5>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
UVec4: for<'__> ReadFrom,
impl ReadFrom for LinearRgba
Available on crate feature
encase only.