pub struct ivec3(/* private fields */);
Expand description
Vector of 3 int
values.
foo: ivec3
is equivalent to glsl’s ivec3 foo;
§Examples
let x: ivec3 = [1i32; 3].into();
Trait Implementations§
Source§impl Ord for ivec3
impl Ord for ivec3
Source§impl PartialOrd for ivec3
impl PartialOrd for ivec3
impl Copy for ivec3
impl Eq for ivec3
impl StructuralPartialEq for ivec3
Auto Trait Implementations§
impl Freeze for ivec3
impl RefUnwindSafe for ivec3
impl Send for ivec3
impl Sync for ivec3
impl Unpin for ivec3
impl UnwindSafe for ivec3
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