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