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