pub struct ServersidePlayerCommand {
pub entity_id: i32,
pub command: PlayerCommand,
pub jump_boost: i32,
}Fields§
§entity_id: i32§command: PlayerCommand§jump_boost: i32Implementations§
Trait Implementations§
Source§impl Clone for ServersidePlayerCommand
impl Clone for ServersidePlayerCommand
Source§fn clone(&self) -> ServersidePlayerCommand
fn clone(&self) -> ServersidePlayerCommand
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 ServersidePlayerCommand
impl Debug for ServersidePlayerCommand
Source§impl IntoPacket<ServersidePlayPacket> for ServersidePlayerCommand
impl IntoPacket<ServersidePlayPacket> for ServersidePlayerCommand
fn into_packet(self) -> ServersidePlayPacket
Source§impl PartialEq for ServersidePlayerCommand
impl PartialEq for ServersidePlayerCommand
Source§fn eq(&self, other: &ServersidePlayerCommand) -> bool
fn eq(&self, other: &ServersidePlayerCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServersidePlayerCommand
Auto Trait Implementations§
impl Freeze for ServersidePlayerCommand
impl RefUnwindSafe for ServersidePlayerCommand
impl Send for ServersidePlayerCommand
impl Sync for ServersidePlayerCommand
impl Unpin for ServersidePlayerCommand
impl UnsafeUnpin for ServersidePlayerCommand
impl UnwindSafe for ServersidePlayerCommand
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