pub struct TeleportFlags(/* private fields */);
Implementations§
Source§impl TeleportFlags
impl TeleportFlags
pub fn new( 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, rotation_first: bool, ) -> Self
pub fn set_relative_x(&mut self, new: bool)
pub fn set_relative_y(&mut self, new: bool)
pub fn set_relative_z(&mut self, new: bool)
pub fn set_relative_yaw(&mut self, new: bool)
pub fn set_relative_pitch(&mut self, new: bool)
pub fn set_relative_velocity_x(&mut self, new: bool)
pub fn set_relative_velocity_y(&mut self, new: bool)
pub fn set_relative_velocity_z(&mut self, new: bool)
pub fn set_rotation_first(&mut self, new: bool)
Trait Implementations§
Source§impl Clone for TeleportFlags
impl Clone for TeleportFlags
Source§fn clone(&self) -> TeleportFlags
fn clone(&self) -> TeleportFlags
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 TeleportFlags
impl Debug for TeleportFlags
Source§impl Default for TeleportFlags
impl Default for TeleportFlags
Source§impl Field for TeleportFlags
impl Field for TeleportFlags
Source§impl PartialEq for TeleportFlags
impl PartialEq for TeleportFlags
impl Copy for TeleportFlags
impl Eq for TeleportFlags
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 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