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