pub enum PlayerCommand {
LeaveBed,
StartSprinting,
StopSprinting,
StartJumpWithHorse,
StopJumpWithHorse,
OpenVehicleInventory,
StartElytraFlying,
}Expand description
Команда игрока
Variants§
LeaveBed
StartSprinting
StopSprinting
StartJumpWithHorse
StopJumpWithHorse
OpenVehicleInventory
StartElytraFlying
Trait Implementations§
Source§impl Buffer for PlayerCommand
impl Buffer for PlayerCommand
Source§impl Clone for PlayerCommand
impl Clone for PlayerCommand
Source§fn clone(&self) -> PlayerCommand
fn clone(&self) -> PlayerCommand
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 PlayerCommand
impl Debug for PlayerCommand
Source§impl PartialEq for PlayerCommand
impl PartialEq for PlayerCommand
Source§fn eq(&self, other: &PlayerCommand) -> bool
fn eq(&self, other: &PlayerCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PlayerCommand
impl PartialOrd for PlayerCommand
impl Copy for PlayerCommand
impl StructuralPartialEq for PlayerCommand
Auto Trait Implementations§
impl Freeze for PlayerCommand
impl RefUnwindSafe for PlayerCommand
impl Send for PlayerCommand
impl Sync for PlayerCommand
impl Unpin for PlayerCommand
impl UnsafeUnpin for PlayerCommand
impl UnwindSafe for PlayerCommand
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