Trait WriteInto

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

Required Methods§

Source

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>

Source§

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

Source§

impl WriteInto for Option<NonZeroU32>

Source§

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

Source§

impl WriteInto for f32

Source§

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

Source§

impl WriteInto for i32

Source§

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

Source§

impl WriteInto for u32

Source§

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

Source§

impl WriteInto for Wrapping<i32>

Source§

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

Source§

impl WriteInto for Wrapping<u32>

Source§

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

Source§

impl WriteInto for AtomicI32

Source§

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

Source§

impl WriteInto for AtomicU32

Source§

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

Source§

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

Available on crate feature glam only.
Source§

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

Source§

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

Available on crate feature glam only.
Source§

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

Source§

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

Available on crate feature glam only.
Source§

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

Source§

impl WriteInto for Vec4

Available on crate feature glam only.
Source§

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

Source§

impl WriteInto for Vec2

Available on crate feature glam only.
Source§

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

Source§

impl WriteInto for Vec3

Available on crate feature glam only.
Source§

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

Source§

impl WriteInto for IVec2

Available on crate feature glam only.
Source§

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

Source§

impl WriteInto for IVec3

Available on crate feature glam only.
Source§

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

Source§

impl WriteInto for IVec4

Available on crate feature glam only.
Source§

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

Source§

impl WriteInto for UVec2

Available on crate feature glam only.
Source§

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

Source§

impl WriteInto for UVec3

Available on crate feature glam only.
Source§

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

Source§

impl WriteInto for UVec4

Available on crate feature glam only.
Source§

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

Source§

impl WriteInto for IVec2

Available on crate feature ultraviolet only.
Source§

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

Source§

impl WriteInto for IVec3

Available on crate feature ultraviolet only.
Source§

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

Source§

impl WriteInto for IVec4

Available on crate feature ultraviolet only.
Source§

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

Source§

impl WriteInto for UVec2

Available on crate feature ultraviolet only.
Source§

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

Source§

impl WriteInto for UVec3

Available on crate feature ultraviolet only.
Source§

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

Source§

impl WriteInto for UVec4

Available on crate feature ultraviolet only.
Source§

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

Source§

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

Available on crate feature ultraviolet only.
Source§

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

Source§

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

Available on crate feature ultraviolet only.
Source§

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

Source§

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

Available on crate feature ultraviolet only.
Source§

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

Source§

impl WriteInto for Vec2

Available on crate feature ultraviolet only.
Source§

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

Source§

impl WriteInto for Vec3

Available on crate feature ultraviolet only.
Source§

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

Source§

impl WriteInto for Vec4

Available on crate feature ultraviolet only.
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<T> WriteInto for Matrix2<T>
where Self: AsRefMatrixParts<T, 2, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature cgmath only.
Source§

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

Source§

impl<T> WriteInto for Matrix3<T>
where Self: AsRefMatrixParts<T, 3, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature cgmath only.
Source§

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

Source§

impl<T> WriteInto for Matrix4<T>
where Self: AsRefMatrixParts<T, 4, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature cgmath only.
Source§

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

Source§

impl<T> WriteInto for Point2<T>
where Self: AsRefVectorParts<T, 2>, T: VectorScalar + WriteInto,

Available on crate feature cgmath only.
Source§

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

Source§

impl<T> WriteInto for Point3<T>
where Self: AsRefVectorParts<T, 3>, T: VectorScalar + WriteInto,

Available on crate feature cgmath only.
Source§

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

Source§

impl<T> WriteInto for Vector2<T>
where Self: AsRefVectorParts<T, 2>, T: VectorScalar + WriteInto,

Available on crate feature cgmath only.
Source§

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

Source§

impl<T> WriteInto for Vector3<T>
where Self: AsRefVectorParts<T, 3>, T: VectorScalar + WriteInto,

Available on crate feature cgmath only.
Source§

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

Source§

impl<T> WriteInto for Vector4<T>
where Self: AsRefVectorParts<T, 4>, T: VectorScalar + WriteInto,

Available on crate feature cgmath only.
Source§

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

Source§

impl<T> WriteInto for Vector<T>
where T: WriteInto + Clone, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate feature im-rc only.
Source§

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

Source§

impl<T> WriteInto for Vector<T>
where T: WriteInto + Clone, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate feature im only.
Source§

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

Source§

impl<T> WriteInto for ColumnMatrix2<T>
where Self: AsRefMatrixParts<T, 2, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for ColumnMatrix2x3<T>
where Self: AsRefMatrixParts<T, 3, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for ColumnMatrix2x4<T>
where Self: AsRefMatrixParts<T, 4, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for ColumnMatrix3<T>
where Self: AsRefMatrixParts<T, 3, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for ColumnMatrix3x2<T>
where Self: AsRefMatrixParts<T, 2, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for ColumnMatrix3x4<T>
where Self: AsRefMatrixParts<T, 4, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for ColumnMatrix4<T>
where Self: AsRefMatrixParts<T, 4, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for ColumnMatrix4x2<T>
where Self: AsRefMatrixParts<T, 2, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for ColumnMatrix4x3<T>
where Self: AsRefMatrixParts<T, 3, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for Point2<T>
where Self: AsRefVectorParts<T, 2>, T: VectorScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for Point3<T>
where Self: AsRefVectorParts<T, 3>, T: VectorScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for Vector2<T>
where Self: AsRefVectorParts<T, 2>, T: VectorScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for Vector3<T>
where Self: AsRefVectorParts<T, 3>, T: VectorScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

impl<T> WriteInto for Vector4<T>
where Self: AsRefVectorParts<T, 4>, T: VectorScalar + WriteInto,

Available on crate feature mint only.
Source§

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

Source§

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

Available on crate feature vek only.
Source§

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

Source§

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

Available on crate feature vek only.
Source§

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

Source§

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

Available on crate feature vek only.
Source§

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

Source§

impl<T> WriteInto for Vec2<T>
where Self: AsRefVectorParts<T, 2>, T: VectorScalar + WriteInto,

Available on crate feature vek only.
Source§

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

Source§

impl<T> WriteInto for Vec3<T>
where Self: AsRefVectorParts<T, 3>, T: VectorScalar + WriteInto,

Available on crate feature vek only.
Source§

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

Source§

impl<T> WriteInto for Vec4<T>
where Self: AsRefVectorParts<T, 4>, T: VectorScalar + WriteInto,

Available on crate feature vek only.
Source§

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

Source§

impl<T> WriteInto for Vector<T>
where T: WriteInto + Clone, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate feature imbl only.
Source§

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

Source§

impl<T> WriteInto for Matrix2<T>
where Self: AsRefMatrixParts<T, 2, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for Matrix2x3<T>
where Self: AsRefMatrixParts<T, 3, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for Matrix2x4<T>
where Self: AsRefMatrixParts<T, 4, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for Matrix3<T>
where Self: AsRefMatrixParts<T, 3, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for Matrix3x2<T>
where Self: AsRefMatrixParts<T, 2, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for Matrix3x4<T>
where Self: AsRefMatrixParts<T, 4, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for Matrix4<T>
where Self: AsRefMatrixParts<T, 4, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for Matrix4x2<T>
where Self: AsRefMatrixParts<T, 2, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for Matrix4x3<T>
where Self: AsRefMatrixParts<T, 3, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for Vector2<T>
where Self: AsRefVectorParts<T, 2>, T: VectorScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for Vector3<T>
where Self: AsRefVectorParts<T, 3>, T: VectorScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for Vector4<T>
where Self: AsRefVectorParts<T, 4>, T: VectorScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixView2<'_, T>
where Self: AsRefMatrixParts<T, 2, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixView2x3<'_, T>
where Self: AsRefMatrixParts<T, 3, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixView2x4<'_, T>
where Self: AsRefMatrixParts<T, 4, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixView3<'_, T>
where Self: AsRefMatrixParts<T, 3, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixView3x2<'_, T>
where Self: AsRefMatrixParts<T, 2, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixView3x4<'_, T>
where Self: AsRefMatrixParts<T, 4, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixView4<'_, T>
where Self: AsRefMatrixParts<T, 4, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixView4x2<'_, T>
where Self: AsRefMatrixParts<T, 2, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixView4x3<'_, T>
where Self: AsRefMatrixParts<T, 3, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixViewMut2<'_, T>
where Self: AsRefMatrixParts<T, 2, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixViewMut2x3<'_, T>
where Self: AsRefMatrixParts<T, 3, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixViewMut2x4<'_, T>
where Self: AsRefMatrixParts<T, 4, 2> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixViewMut3<'_, T>
where Self: AsRefMatrixParts<T, 3, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixViewMut3x2<'_, T>
where Self: AsRefMatrixParts<T, 2, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixViewMut3x4<'_, T>
where Self: AsRefMatrixParts<T, 4, 3> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixViewMut4<'_, T>
where Self: AsRefMatrixParts<T, 4, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixViewMut4x2<'_, T>
where Self: AsRefMatrixParts<T, 2, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for MatrixViewMut4x3<'_, T>
where Self: AsRefMatrixParts<T, 3, 4> + ShaderType<ExtraMetadata = MatrixMetadata>, T: MatrixScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for VectorView2<'_, T>
where Self: AsRefVectorParts<T, 2>, T: VectorScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for VectorView3<'_, T>
where Self: AsRefVectorParts<T, 3>, T: VectorScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for VectorView4<'_, T>
where Self: AsRefVectorParts<T, 4>, T: VectorScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for VectorViewMut2<'_, T>
where Self: AsRefVectorParts<T, 2>, T: VectorScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for VectorViewMut3<'_, T>
where Self: AsRefVectorParts<T, 3>, T: VectorScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T> WriteInto for VectorViewMut4<'_, T>
where Self: AsRefVectorParts<T, 4>, T: VectorScalar + WriteInto,

Available on crate feature nalgebra only.
Source§

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

Source§

impl<T, A: Array<Item = T>> WriteInto for SmallVec<A>
where T: WriteInto, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate feature smallvec only.
Source§

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

Source§

impl<T, A: Array<Item = T>> WriteInto for TinyVec<A>
where T: WriteInto, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate feature tinyvec only.
Source§

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

Source§

impl<T, A: Array<Item = T>> WriteInto for ArrayVec<A>
where T: WriteInto, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate feature tinyvec only.
Source§

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

Source§

impl<T, P: SharedPointerKind> WriteInto for SharedPointer<T, P>
where T: WriteInto,

Available on crate feature archery only.
Source§

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

Source§

impl<T, P: SharedPointerKind> WriteInto for List<T, P>
where T: WriteInto, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate features rpds and archery only.
Source§

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

Source§

impl<T, P: SharedPointerKind> WriteInto for Queue<T, P>
where T: WriteInto, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate features rpds and archery only.
Source§

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

Source§

impl<T, P: SharedPointerKind> WriteInto for Stack<T, P>
where T: WriteInto, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate features rpds and archery only.
Source§

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

Source§

impl<T, P: SharedPointerKind> WriteInto for Vector<T, P>
where T: WriteInto, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate features rpds and archery only.
Source§

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

Source§

impl<T, S: RawData<Elem = T>, D: Dimension> WriteInto for ArrayBase<S, D>
where T: WriteInto, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate feature ndarray only.
Source§

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

Source§

impl<T, const N: usize> WriteInto for ArrayVec<T, N>
where T: WriteInto, Self: ShaderType<ExtraMetadata = ArrayMetadata>, for<'a> &'a Self: IntoIterator<Item = &'a T>,

Available on crate feature arrayvec only.
Source§

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

Source§

impl<T, const NUM: usize, const DEN: usize> WriteInto for StaticRc<T, NUM, DEN>
where T: WriteInto + ?Sized,

Available on crate feature static-rc only.
Source§

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

Source§

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

Source§

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

Implementors§