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