Trait bevy::render::render_resource::encase::internal::WriteInto

pub trait WriteInto {
    // Required method
    fn write_into<B>(&self, writer: &mut Writer<B>)
       where B: BufferMut;
}

Required Methods§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl WriteInto for Option<NonZero<i32>>

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl WriteInto for Option<NonZero<u32>>

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl WriteInto for f32

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl WriteInto for i32

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl WriteInto for u32

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl WriteInto for Wrapping<i32>

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl WriteInto for Wrapping<u32>

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl WriteInto for AtomicI32

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl WriteInto for AtomicU32

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T> WriteInto for Cow<'_, T>
where T: ToOwned<Owned = T> + WriteInto + ?Sized,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T> WriteInto for &T
where T: WriteInto + ?Sized,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T> WriteInto for &mut T
where T: WriteInto + ?Sized,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T> WriteInto for [T]
where [T]: ShaderType<ExtraMetadata = ArrayMetadata>, &'a [T]: for<'a> IntoIterator<Item = &'a T>, T: WriteInto,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T> WriteInto for Box<T>
where T: WriteInto + ?Sized,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T> WriteInto for LinkedList<T>
where LinkedList<T>: ShaderType<ExtraMetadata = ArrayMetadata>, &'a LinkedList<T>: for<'a> IntoIterator<Item = &'a T>, T: WriteInto,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T> WriteInto for VecDeque<T>
where VecDeque<T>: ShaderType<ExtraMetadata = ArrayMetadata>, &'a VecDeque<T>: for<'a> IntoIterator<Item = &'a T>, T: WriteInto,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T> WriteInto for Rc<T>
where T: WriteInto + ?Sized,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T> WriteInto for Arc<T>
where T: WriteInto + ?Sized,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T> WriteInto for Vec<T>
where Vec<T>: ShaderType<ExtraMetadata = ArrayMetadata>, &'a Vec<T>: for<'a> IntoIterator<Item = &'a T>, T: WriteInto,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T> WriteInto for Cell<T>
where T: Copy + WriteInto + ?Sized,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

§

impl<T, const N: usize> WriteInto for [T; N]
where T: WriteInto, [T; N]: ShaderType<ExtraMetadata = ArrayMetadata>,

§

fn write_into<B>(&self, writer: &mut Writer<B>)
where B: BufferMut,

Implementors§

§

impl WriteInto for LinearRgba

§

impl WriteInto for DepthOfFieldUniform
where DepthOfFieldUniform: ShaderType<ExtraMetadata = StructMetadata<8>>, f32: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto, u32: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto,

§

impl WriteInto for MotionBlur
where MotionBlur: ShaderType<ExtraMetadata = StructMetadata<2>>, f32: for<'__> WriteInto, u32: for<'__> WriteInto,

§

impl WriteInto for Mat2
where Mat2: ShaderType<ExtraMetadata = MatrixMetadata> + AsRefMatrixParts<f32, 2, 2>, f32: MatrixScalar + WriteInto,

§

impl WriteInto for Mat3
where Mat3: ShaderType<ExtraMetadata = MatrixMetadata> + AsRefMatrixParts<f32, 3, 3>, f32: MatrixScalar + WriteInto,

§

impl WriteInto for Mat4
where Mat4: ShaderType<ExtraMetadata = MatrixMetadata> + AsRefMatrixParts<f32, 4, 4>, f32: MatrixScalar + WriteInto,

§

impl WriteInto for Vec2

§

impl WriteInto for Vec3

§

impl WriteInto for Vec4

§

impl WriteInto for IVec2

§

impl WriteInto for IVec3

§

impl WriteInto for IVec4

§

impl WriteInto for UVec2

§

impl WriteInto for UVec3

§

impl WriteInto for UVec4

§

impl WriteInto for PbrDeferredLightingDepthId
where PbrDeferredLightingDepthId: ShaderType<ExtraMetadata = StructMetadata<1>>, u32: for<'__> WriteInto,

§

impl WriteInto for GpuDirectionalCascade
where GpuDirectionalCascade: ShaderType<ExtraMetadata = StructMetadata<3>>, Mat4: for<'__> WriteInto, f32: for<'__> WriteInto + for<'__> WriteInto,

§

impl WriteInto for GpuDirectionalLight
where GpuDirectionalLight: ShaderType<ExtraMetadata = StructMetadata<10>>, [GpuDirectionalCascade; 4]: for<'__> WriteInto, Vec4: for<'__> WriteInto, Vec3: for<'__> WriteInto, u32: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto, f32: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto,

§

impl WriteInto for GpuFog
where GpuFog: ShaderType<ExtraMetadata = StructMetadata<6>>, Vec4: for<'__> WriteInto + for<'__> WriteInto, Vec3: for<'__> WriteInto + for<'__> WriteInto, f32: for<'__> WriteInto, u32: for<'__> WriteInto,

§

impl WriteInto for GpuLights
where GpuLights: ShaderType<ExtraMetadata = StructMetadata<6>>, [GpuDirectionalLight; 10]: for<'__> WriteInto, Vec4: for<'__> WriteInto + for<'__> WriteInto, UVec4: for<'__> WriteInto, u32: for<'__> WriteInto, i32: for<'__> WriteInto,

§

impl WriteInto for GpuPointLight
where GpuPointLight: ShaderType<ExtraMetadata = StructMetadata<7>>, Vec4: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto, u32: for<'__> WriteInto, f32: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto,

§

impl WriteInto for GpuPointLightsStorage
where GpuPointLightsStorage: ShaderType<ExtraMetadata = StructMetadata<1>>, Vec<GpuPointLight>: for<'__> WriteInto,

§

impl WriteInto for GpuPointLightsUniform
where GpuPointLightsUniform: ShaderType<ExtraMetadata = StructMetadata<1>>, Box<[GpuPointLight; 256]>: for<'__> WriteInto,

§

impl WriteInto for LightProbesUniform
where LightProbesUniform: ShaderType<ExtraMetadata = StructMetadata<7>>, [RenderLightProbe; 8]: for<'__> WriteInto + for<'__> WriteInto, i32: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto, u32: for<'__> WriteInto, f32: for<'__> WriteInto,

§

impl WriteInto for MeshCullingData
where MeshCullingData: ShaderType<ExtraMetadata = StructMetadata<2>>, Vec4: for<'__> WriteInto + for<'__> WriteInto,

§

impl WriteInto for MeshInputUniform
where MeshInputUniform: ShaderType<ExtraMetadata = StructMetadata<4>>, [Vec4; 3]: for<'__> WriteInto, UVec2: for<'__> WriteInto, u32: for<'__> WriteInto + for<'__> WriteInto,

§

impl WriteInto for MeshUniform
where MeshUniform: ShaderType<ExtraMetadata = StructMetadata<6>>, [Vec4; 3]: for<'__> WriteInto + for<'__> WriteInto, [Vec4; 2]: for<'__> WriteInto, f32: for<'__> WriteInto, u32: for<'__> WriteInto, UVec2: for<'__> WriteInto,

§

impl WriteInto for PreviousViewData
where PreviousViewData: ShaderType<ExtraMetadata = StructMetadata<2>>, Mat4: for<'__> WriteInto + for<'__> WriteInto,

§

impl WriteInto for StandardMaterialUniform
where StandardMaterialUniform: ShaderType<ExtraMetadata = StructMetadata<21>>, Vec4: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto, Mat3: for<'__> WriteInto, f32: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto, u32: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto,

§

impl WriteInto for VolumetricFogUniform
where VolumetricFogUniform: ShaderType<ExtraMetadata = StructMetadata<11>>, Vec3: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto, f32: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto, u32: for<'__> WriteInto,

§

impl WriteInto for ColorMaterialUniform
where ColorMaterialUniform: ShaderType<ExtraMetadata = StructMetadata<2>>, Vec4: for<'__> WriteInto, u32: for<'__> WriteInto,

§

impl WriteInto for Mesh2dUniform
where Mesh2dUniform: ShaderType<ExtraMetadata = StructMetadata<4>>, [Vec4; 3]: for<'__> WriteInto, [Vec4; 2]: for<'__> WriteInto, f32: for<'__> WriteInto, u32: for<'__> WriteInto,

§

impl WriteInto for IndirectParameters
where IndirectParameters: ShaderType<ExtraMetadata = StructMetadata<5>>, u32: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto,

§

impl WriteInto for PreprocessWorkItem
where PreprocessWorkItem: ShaderType<ExtraMetadata = StructMetadata<2>>, u32: for<'__> WriteInto + for<'__> WriteInto,

§

impl WriteInto for GlobalsUniform
where GlobalsUniform: ShaderType<ExtraMetadata = StructMetadata<3>>, f32: for<'__> WriteInto + for<'__> WriteInto, u32: for<'__> WriteInto,

§

impl WriteInto for ViewUniform
where ViewUniform: ShaderType<ExtraMetadata = StructMetadata<13>>, Mat4: for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto + for<'__> WriteInto, Vec3: for<'__> WriteInto, f32: for<'__> WriteInto + for<'__> WriteInto, Vec4: for<'__> WriteInto, [Vec4; 6]: for<'__> WriteInto, ColorGradingUniform: for<'__> WriteInto,

§

impl WriteInto for ArrayLength