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