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