pub struct TeleportFlags {
pub relative_x: bool,
pub relative_y: bool,
pub relative_z: bool,
pub relative_yaw: bool,
pub relative_pitch: bool,
pub relative_velocity_x: bool,
pub relative_velocity_y: bool,
pub relative_velocity_z: bool,
pub rotate_velocity: bool,
}Expand description
Флаги телепортации
Fields§
§relative_x: bool§relative_y: bool§relative_z: bool§relative_yaw: bool§relative_pitch: bool§relative_velocity_x: bool§relative_velocity_y: bool§relative_velocity_z: bool§rotate_velocity: boolTrait Implementations§
Source§impl Buffer for TeleportFlags
impl Buffer for TeleportFlags
Source§impl Clone for TeleportFlags
impl Clone for TeleportFlags
Source§fn clone(&self) -> TeleportFlags
fn clone(&self) -> TeleportFlags
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 TeleportFlags
impl Debug for TeleportFlags
Source§impl PartialEq for TeleportFlags
impl PartialEq for TeleportFlags
Source§fn eq(&self, other: &TeleportFlags) -> bool
fn eq(&self, other: &TeleportFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TeleportFlags
Auto Trait Implementations§
impl Freeze for TeleportFlags
impl RefUnwindSafe for TeleportFlags
impl Send for TeleportFlags
impl Sync for TeleportFlags
impl Unpin for TeleportFlags
impl UnsafeUnpin for TeleportFlags
impl UnwindSafe for TeleportFlags
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