Struct classicube_sys::LocalPlayer
source · #[repr(C)]pub struct LocalPlayer {Show 16 fields
pub Base: Entity,
pub Spawn: Vec3,
pub OldVelocity: Vec3,
pub SpawnYaw: f32,
pub SpawnPitch: f32,
pub ReachDistance: f32,
pub Hacks: HacksComp,
pub Tilt: TiltComp,
pub Interp: InterpComp,
pub Collisions: CollisionsComp,
pub Physics: PhysicsComp,
pub _warnedRespawn: cc_bool,
pub _warnedFly: cc_bool,
pub _warnedNoclip: cc_bool,
pub _warnedZoom: cc_bool,
pub input: LocalPlayerInput,
}Fields§
§Base: Entity§Spawn: Vec3§OldVelocity: Vec3§SpawnYaw: f32§SpawnPitch: f32§ReachDistance: f32§Hacks: HacksComp§Tilt: TiltComp§Interp: InterpComp§Collisions: CollisionsComp§Physics: PhysicsComp§_warnedRespawn: cc_bool§_warnedFly: cc_bool§_warnedNoclip: cc_bool§_warnedZoom: cc_bool§input: LocalPlayerInputTrait Implementations§
source§impl Debug for LocalPlayer
impl Debug for LocalPlayer
source§impl PartialEq for LocalPlayer
impl PartialEq for LocalPlayer
source§fn eq(&self, other: &LocalPlayer) -> bool
fn eq(&self, other: &LocalPlayer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LocalPlayer
Auto Trait Implementations§
impl RefUnwindSafe for LocalPlayer
impl !Send for LocalPlayer
impl !Sync for LocalPlayer
impl Unpin for LocalPlayer
impl UnwindSafe for LocalPlayer
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