Struct classicube_sys::CollisionsComp
source · #[repr(C)]pub struct CollisionsComp {
pub Entity: *mut Entity,
pub HitXMin: cc_bool,
pub HitYMin: cc_bool,
pub HitZMin: cc_bool,
pub HitXMax: cc_bool,
pub HitYMax: cc_bool,
pub HitZMax: cc_bool,
pub WasOn: cc_bool,
pub StepSize: f32,
}
Fields§
§Entity: *mut Entity
§HitXMin: cc_bool
§HitYMin: cc_bool
§HitZMin: cc_bool
§HitXMax: cc_bool
§HitYMax: cc_bool
§HitZMax: cc_bool
§WasOn: cc_bool
§StepSize: f32
Trait Implementations§
source§impl Clone for CollisionsComp
impl Clone for CollisionsComp
source§fn clone(&self) -> CollisionsComp
fn clone(&self) -> CollisionsComp
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CollisionsComp
impl Debug for CollisionsComp
source§impl PartialEq for CollisionsComp
impl PartialEq for CollisionsComp
source§fn eq(&self, other: &CollisionsComp) -> bool
fn eq(&self, other: &CollisionsComp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CollisionsComp
impl StructuralPartialEq for CollisionsComp
Auto Trait Implementations§
impl Freeze for CollisionsComp
impl RefUnwindSafe for CollisionsComp
impl !Send for CollisionsComp
impl !Sync for CollisionsComp
impl Unpin for CollisionsComp
impl UnwindSafe for CollisionsComp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)