pub enum FacePlayerKind {
Feet,
Eyes,
}Variants§
Implementations§
Source§impl FacePlayerKind
impl FacePlayerKind
pub const fn variant_count() -> usize
pub fn deserialize_with_id<'a>( id: VarInt, data: &'a [u8], ) -> DeserializeResult<'a, Self>
pub fn name(&self) -> &str
pub fn id(&self) -> VarInt
pub fn serialize_body<S: Serializer>(&self, to: &mut S) -> SerializeResult
Trait Implementations§
Source§impl Clone for FacePlayerKind
impl Clone for FacePlayerKind
Source§fn clone(&self) -> FacePlayerKind
fn clone(&self) -> FacePlayerKind
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 FacePlayerKind
impl Debug for FacePlayerKind
Source§impl Deserialize for FacePlayerKind
impl Deserialize for FacePlayerKind
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl PartialEq for FacePlayerKind
impl PartialEq for FacePlayerKind
Source§impl Serialize for FacePlayerKind
impl Serialize for FacePlayerKind
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for FacePlayerKind
Auto Trait Implementations§
impl Freeze for FacePlayerKind
impl RefUnwindSafe for FacePlayerKind
impl Send for FacePlayerKind
impl Sync for FacePlayerKind
impl Unpin for FacePlayerKind
impl UnwindSafe for FacePlayerKind
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