pub struct PhysicsFlags {
pub on_ground: bool,
pub pushing_against_wall: bool,
}Expand description
Флаги телепортации
Fields§
§on_ground: bool§pushing_against_wall: boolTrait Implementations§
Source§impl Buffer for PhysicsFlags
impl Buffer for PhysicsFlags
Source§impl Clone for PhysicsFlags
impl Clone for PhysicsFlags
Source§fn clone(&self) -> PhysicsFlags
fn clone(&self) -> PhysicsFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PhysicsFlags
impl Debug for PhysicsFlags
Source§impl PartialEq for PhysicsFlags
impl PartialEq for PhysicsFlags
Source§fn eq(&self, other: &PhysicsFlags) -> bool
fn eq(&self, other: &PhysicsFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PhysicsFlags
Auto Trait Implementations§
impl Freeze for PhysicsFlags
impl RefUnwindSafe for PhysicsFlags
impl Send for PhysicsFlags
impl Sync for PhysicsFlags
impl Unpin for PhysicsFlags
impl UnsafeUnpin for PhysicsFlags
impl UnwindSafe for PhysicsFlags
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