pub trait AsMutVectorParts<T: VectorScalar, const N: usize> {
// Required method
fn as_mut_parts(&mut self) -> &mut [T; N];
}
Expand description
Enables writing to the vector (via &mut [T; N]
)
Required Methods§
fn as_mut_parts(&mut self) -> &mut [T; N]
Implementations on Foreign Types§
Source§impl AsMutVectorParts<f32, 2> for Vec2
Available on crate feature glam
only.
impl AsMutVectorParts<f32, 2> for Vec2
Available on crate feature
glam
only.fn as_mut_parts(&mut self) -> &mut [f32; 2]
Source§impl AsMutVectorParts<f32, 3> for Vec3
Available on crate feature glam
only.
impl AsMutVectorParts<f32, 3> for Vec3
Available on crate feature
glam
only.fn as_mut_parts(&mut self) -> &mut [f32; 3]
Source§impl AsMutVectorParts<f32, 4> for Vec4
Available on crate feature glam
only.
impl AsMutVectorParts<f32, 4> for Vec4
Available on crate feature
glam
only.fn as_mut_parts(&mut self) -> &mut [f32; 4]
Source§impl AsMutVectorParts<i32, 2> for IVec2
Available on crate feature glam
only.
impl AsMutVectorParts<i32, 2> for IVec2
Available on crate feature
glam
only.fn as_mut_parts(&mut self) -> &mut [i32; 2]
Source§impl AsMutVectorParts<i32, 3> for IVec3
Available on crate feature glam
only.
impl AsMutVectorParts<i32, 3> for IVec3
Available on crate feature
glam
only.fn as_mut_parts(&mut self) -> &mut [i32; 3]
Source§impl AsMutVectorParts<i32, 4> for IVec4
Available on crate feature glam
only.
impl AsMutVectorParts<i32, 4> for IVec4
Available on crate feature
glam
only.fn as_mut_parts(&mut self) -> &mut [i32; 4]
Source§impl AsMutVectorParts<u32, 2> for UVec2
Available on crate feature glam
only.
impl AsMutVectorParts<u32, 2> for UVec2
Available on crate feature
glam
only.fn as_mut_parts(&mut self) -> &mut [u32; 2]
Source§impl AsMutVectorParts<u32, 3> for UVec3
Available on crate feature glam
only.
impl AsMutVectorParts<u32, 3> for UVec3
Available on crate feature
glam
only.fn as_mut_parts(&mut self) -> &mut [u32; 3]
Source§impl AsMutVectorParts<u32, 4> for UVec4
Available on crate feature glam
only.
impl AsMutVectorParts<u32, 4> for UVec4
Available on crate feature
glam
only.