#[repr(C)]pub struct IVec3_ {
    pub x: c_int,
    pub y: c_int,
    pub z: c_int,
}Fields§
§x: c_int§y: c_int§z: c_intImplementations§
Source§impl IVec3_
 
impl IVec3_
pub const fn new(x: c_int, y: c_int, z: c_int) -> Self
pub const fn zero() -> Self
pub fn set(&mut self, x: c_int, y: c_int, z: c_int)
pub fn is_zero(&self) -> bool
pub const fn max_value() -> Self
pub fn to_vec3(&self) -> Vec3
pub fn min(&self, b: IVec3) -> Self
pub fn max(&self, b: IVec3) -> Self
Trait Implementations§
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