pub struct Waterlogged(pub bool);
Tuple Fields§
§0: bool
Trait Implementations§
Source§impl Clone for Waterlogged
impl Clone for Waterlogged
Source§fn clone(&self) -> Waterlogged
fn clone(&self) -> Waterlogged
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Waterlogged
impl Debug for Waterlogged
Source§impl From<u32> for Waterlogged
impl From<u32> for Waterlogged
Source§impl PartialEq for Waterlogged
impl PartialEq for Waterlogged
Source§impl Property for Waterlogged
impl Property for Waterlogged
type Value = bool
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for Waterlogged
impl Eq for Waterlogged
impl StructuralPartialEq for Waterlogged
Auto Trait Implementations§
impl Freeze for Waterlogged
impl RefUnwindSafe for Waterlogged
impl Send for Waterlogged
impl Sync for Waterlogged
impl Unpin for Waterlogged
impl UnwindSafe for Waterlogged
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)