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