pub struct PlayPlayerMovementSpec {
pub on_ground: bool,
}
Fields§
§on_ground: bool
Trait Implementations§
Source§impl Clone for PlayPlayerMovementSpec
impl Clone for PlayPlayerMovementSpec
Source§fn clone(&self) -> PlayPlayerMovementSpec
fn clone(&self) -> PlayPlayerMovementSpec
Returns a duplicate 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 PlayPlayerMovementSpec
impl Debug for PlayPlayerMovementSpec
Source§impl Deserialize for PlayPlayerMovementSpec
impl Deserialize for PlayPlayerMovementSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayPlayerMovementSpec> for bool
impl From<PlayPlayerMovementSpec> for bool
Source§fn from(other: PlayPlayerMovementSpec) -> Self
fn from(other: PlayPlayerMovementSpec) -> Self
Converts to this type from the input type.
Source§impl From<bool> for PlayPlayerMovementSpec
impl From<bool> for PlayPlayerMovementSpec
Source§impl PartialEq for PlayPlayerMovementSpec
impl PartialEq for PlayPlayerMovementSpec
Source§impl Serialize for PlayPlayerMovementSpec
impl Serialize for PlayPlayerMovementSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayPlayerMovementSpec
Auto Trait Implementations§
impl Freeze for PlayPlayerMovementSpec
impl RefUnwindSafe for PlayPlayerMovementSpec
impl Send for PlayPlayerMovementSpec
impl Sync for PlayPlayerMovementSpec
impl Unpin for PlayPlayerMovementSpec
impl UnwindSafe for PlayPlayerMovementSpec
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