Struct classicube_sys::IVec3_
source · #[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§
source§impl PartialEq for IVec3_
impl PartialEq for IVec3_
impl Copy for IVec3_
impl Eq for IVec3_
impl StructuralPartialEq for IVec3_
Auto Trait Implementations§
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