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<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>,
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>,
Implementors§
impl ReadFrom for DownsamplingConstantswhere
DownsamplingConstants: ShaderType<ExtraMetadata = StructMetadata<3>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom,
Vec2: for<'__> ReadFrom,
impl ReadFrom for OitFragmentNodewhere
OitFragmentNode: ShaderType<ExtraMetadata = StructMetadata<3>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for OrderIndependentTransparencySettingswhere
OrderIndependentTransparencySettings: ShaderType<ExtraMetadata = StructMetadata<3>>,
u32: for<'__> ReadFrom,
f32: for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for PreviousViewDatawhere
PreviousViewData: ShaderType<ExtraMetadata = StructMetadata<6>>,
Mat4: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for SkyboxUniformswhere
SkyboxUniforms: ShaderType<ExtraMetadata = StructMetadata<2>>,
f32: for<'__> ReadFrom,
Mat4: for<'__> ReadFrom,
impl ReadFrom for MorphAttributeswhere
MorphAttributes: ShaderType<ExtraMetadata = StructMetadata<6>>,
Vec3: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
f32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for RenderClusteredDecal
impl ReadFrom for ForwardDecalMaterialExtUniformwhere
ForwardDecalMaterialExtUniform: ShaderType<ExtraMetadata = StructMetadata<1>>,
f32: for<'__> ReadFrom,
impl ReadFrom for PbrDeferredLightingDepthIdwhere
PbrDeferredLightingDepthId: ShaderType<ExtraMetadata = StructMetadata<1>>,
u32: for<'__> ReadFrom,
impl ReadFrom for FilteringConstantswhere
FilteringConstants: ShaderType<ExtraMetadata = StructMetadata<4>>,
f32: for<'__> ReadFrom + for<'__> ReadFrom,
u32: for<'__> ReadFrom,
UVec2: for<'__> ReadFrom,
impl ReadFrom for AtmosphereTransformwhere
AtmosphereTransform: ShaderType<ExtraMetadata = StructMetadata<2>>,
Mat4: for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for GpuAtmospherewhere
GpuAtmosphere: ShaderType<ExtraMetadata = StructMetadata<4>>,
Vec3: for<'__> ReadFrom,
f32: for<'__> ReadFrom + for<'__> ReadFrom,
Mat4: for<'__> ReadFrom,
impl ReadFrom for ContactShadowsUniformwhere
ContactShadowsUniform: ShaderType<ExtraMetadata = StructMetadata<4>>,
u32: for<'__> ReadFrom,
f32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for GpuAtmosphereSettingswhere
GpuAtmosphereSettings: ShaderType<ExtraMetadata = StructMetadata<12>>,
UVec2: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
UVec3: for<'__> ReadFrom,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
f32: for<'__> ReadFrom,
impl ReadFrom for GpuClusteredLightwhere
GpuClusteredLight: ShaderType<ExtraMetadata = StructMetadata<11>>,
Vec4: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
u32: for<'__> ReadFrom + for<'__> ReadFrom,
f32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for GpuDirectionalCascadewhere
GpuDirectionalCascade: ShaderType<ExtraMetadata = StructMetadata<3>>,
Mat4: for<'__> ReadFrom,
f32: for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for GpuDirectionalLightwhere
GpuDirectionalLight: ShaderType<ExtraMetadata = StructMetadata<13>>,
[GpuDirectionalCascade; 4]: for<'__> ReadFrom,
Vec4: for<'__> ReadFrom,
Vec3: for<'__> ReadFrom,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
f32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for GpuFog
impl ReadFrom for GpuLightswhere
GpuLights: ShaderType<ExtraMetadata = StructMetadata<9>>,
[GpuDirectionalLight; 10]: for<'__> ReadFrom,
Vec4: for<'__> ReadFrom + for<'__> ReadFrom,
UVec4: for<'__> ReadFrom,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
i32: for<'__> ReadFrom,
[GpuRectLight; 8]: for<'__> ReadFrom,
impl ReadFrom for GpuMorphDescriptorwhere
GpuMorphDescriptor: ShaderType<ExtraMetadata = StructMetadata<5>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for GpuRectLight
impl ReadFrom for LightProbesUniform
impl ReadFrom for MeshCullingDatawhere
MeshCullingData: ShaderType<ExtraMetadata = StructMetadata<2>>,
Vec4: for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for MeshInputUniformwhere
MeshInputUniform: ShaderType<ExtraMetadata = StructMetadata<16>>,
[Vec4; 3]: for<'__> ReadFrom,
UVec2: for<'__> ReadFrom,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for MeshUniformwhere
MeshUniform: ShaderType<ExtraMetadata = StructMetadata<12>>,
[Vec4; 3]: for<'__> ReadFrom + for<'__> ReadFrom,
[Vec4; 2]: for<'__> ReadFrom,
f32: for<'__> ReadFrom,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
UVec2: for<'__> ReadFrom,
impl ReadFrom for PreviousMeshInputUniformwhere
PreviousMeshInputUniform: ShaderType<ExtraMetadata = StructMetadata<1>>,
[Vec4; 3]: for<'__> ReadFrom,
impl ReadFrom for ScreenSpaceReflectionsUniformwhere
ScreenSpaceReflectionsUniform: ShaderType<ExtraMetadata = StructMetadata<11>>,
f32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for StandardMaterialUniformwhere
StandardMaterialUniform: ShaderType<ExtraMetadata = StructMetadata<23>>,
Vec4: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
Mat3: for<'__> ReadFrom,
Vec3: for<'__> ReadFrom,
f32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
Vec2: for<'__> ReadFrom,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for WireframeVertexPullParamswhere
WireframeVertexPullParams: ShaderType<ExtraMetadata = StructMetadata<3>>,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for DepthOfFieldUniform
impl ReadFrom for ChromaticAberrationUniformwhere
ChromaticAberrationUniform: ShaderType<ExtraMetadata = StructMetadata<4>>,
f32: for<'__> ReadFrom,
u32: for<'__> ReadFrom + for<'__> ReadFrom + for<'__> ReadFrom,
impl ReadFrom for LensDistortionUniform
impl ReadFrom for VignetteUniform
impl ReadFrom for IVec2
impl ReadFrom for IVec3
impl ReadFrom for IVec4
impl ReadFrom for LinearRgba
Available on crate feature
encase only.