pub struct Up(pub bool);
Tuple Fields§
§0: bool
Trait Implementations§
Source§impl From<u16> for Up
impl From<u16> for Up
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl Property for Up
impl Property for Up
type Value = bool
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for Up
impl Eq for Up
impl StructuralPartialEq for Up
Auto Trait Implementations§
impl Freeze for Up
impl RefUnwindSafe for Up
impl Send for Up
impl Sync for Up
impl Unpin for Up
impl UnwindSafe for Up
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