pub enum Part {
Head = 0,
Foot = 1,
}
Variants§
Trait Implementations§
Source§impl From<u16> for Part
impl From<u16> for Part
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl Property for Part
impl Property for Part
type Value = Part
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for Part
impl Eq for Part
impl StructuralPartialEq for Part
Auto Trait Implementations§
impl Freeze for Part
impl RefUnwindSafe for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnwindSafe for Part
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