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