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