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,
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 WriteInto for Option<NonZeroI32>
impl WriteInto for Option<NonZeroI32>
fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for Option<NonZeroU32>
impl WriteInto for Option<NonZeroU32>
fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for Mat3where
Self: AsRefMatrixParts<f32, 3, 3> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + WriteInto,
Available on crate feature glam
only.
impl WriteInto for Mat3where
Self: AsRefMatrixParts<f32, 3, 3> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + WriteInto,
Available on crate feature
glam
only.fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for Mat2where
Self: AsRefMatrixParts<f32, 2, 2> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + WriteInto,
Available on crate feature glam
only.
impl WriteInto for Mat2where
Self: AsRefMatrixParts<f32, 2, 2> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + WriteInto,
Available on crate feature
glam
only.fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for Mat4where
Self: AsRefMatrixParts<f32, 4, 4> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + WriteInto,
Available on crate feature glam
only.
impl WriteInto for Mat4where
Self: AsRefMatrixParts<f32, 4, 4> + ShaderType<ExtraMetadata = MatrixMetadata>,
f32: MatrixScalar + WriteInto,
Available on crate feature
glam
only.fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for Vec4
Available on crate feature glam
only.
impl WriteInto for Vec4
Available on crate feature
glam
only.fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for Vec2
Available on crate feature glam
only.
impl WriteInto for Vec2
Available on crate feature
glam
only.fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for Vec3
Available on crate feature glam
only.
impl WriteInto for Vec3
Available on crate feature
glam
only.fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for IVec2
Available on crate feature glam
only.
impl WriteInto for IVec2
Available on crate feature
glam
only.fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for IVec3
Available on crate feature glam
only.
impl WriteInto for IVec3
Available on crate feature
glam
only.fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for IVec4
Available on crate feature glam
only.
impl WriteInto for IVec4
Available on crate feature
glam
only.fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for UVec2
Available on crate feature glam
only.
impl WriteInto for UVec2
Available on crate feature
glam
only.fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for UVec3
Available on crate feature glam
only.
impl WriteInto for UVec3
Available on crate feature
glam
only.fn write_into<B: BufferMut>(&self, writer: &mut Writer<B>)
Source§impl WriteInto for UVec4
Available on crate feature glam
only.
impl WriteInto for UVec4
Available on crate feature
glam
only.