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