Struct classicube_sys::PhysicsComp
source · #[repr(C)]pub struct PhysicsComp {
pub UseLiquidGravity: cc_bool,
pub CanLiquidJump: cc_bool,
pub Jumping: cc_bool,
pub MultiJumps: c_int,
pub Entity: *mut Entity,
pub JumpVel: f32,
pub UserJumpVel: f32,
pub ServerJumpVel: f32,
pub Hacks: *mut HacksComp,
pub Collisions: *mut CollisionsComp,
}
Fields§
§UseLiquidGravity: cc_bool
§CanLiquidJump: cc_bool
§Jumping: cc_bool
§MultiJumps: c_int
§Entity: *mut Entity
§JumpVel: f32
§UserJumpVel: f32
§ServerJumpVel: f32
§Hacks: *mut HacksComp
§Collisions: *mut CollisionsComp
Trait Implementations§
source§impl Clone for PhysicsComp
impl Clone for PhysicsComp
source§fn clone(&self) -> PhysicsComp
fn clone(&self) -> PhysicsComp
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 PhysicsComp
impl Debug for PhysicsComp
source§impl PartialEq for PhysicsComp
impl PartialEq for PhysicsComp
source§fn eq(&self, other: &PhysicsComp) -> bool
fn eq(&self, other: &PhysicsComp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PhysicsComp
impl StructuralPartialEq for PhysicsComp
Auto Trait Implementations§
impl Freeze for PhysicsComp
impl RefUnwindSafe for PhysicsComp
impl !Send for PhysicsComp
impl !Sync for PhysicsComp
impl Unpin for PhysicsComp
impl UnwindSafe for PhysicsComp
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
)