#[repr(transparent)]pub struct Vec4(pub [u8; 16]);Tuple Fields§
§0: [u8; 16]Implementations§
Source§impl<'a> Vec4
impl<'a> Vec4
pub fn new(x: f32, y: f32, z: f32, w: f32) -> Self
pub fn x(&self) -> f32
pub fn set_x(&mut self, x: f32)
pub fn y(&self) -> f32
pub fn set_y(&mut self, x: f32)
pub fn z(&self) -> f32
pub fn set_z(&mut self, x: f32)
pub fn w(&self) -> f32
pub fn set_w(&mut self, x: f32)
Trait Implementations§
Source§impl<'a> Verifiable for Vec4
impl<'a> Verifiable for Vec4
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl Copy for Vec4
impl SimpleToVerifyInSlice for Vec4
impl StructuralPartialEq for Vec4
Auto Trait Implementations§
impl Freeze for Vec4
impl RefUnwindSafe for Vec4
impl Send for Vec4
impl Sync for Vec4
impl Unpin for Vec4
impl UnsafeUnpin for Vec4
impl UnwindSafe for Vec4
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more