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