pub struct CherryLeaves {
pub distance: CherryLeavesDistance,
pub persistent: bool,
pub waterlogged: bool,
}
Fields§
§distance: CherryLeavesDistance
§persistent: bool
§waterlogged: bool
Trait Implementations§
Source§impl BlockTrait for CherryLeaves
impl BlockTrait for CherryLeaves
fn behavior(&self) -> BlockBehavior
Source§fn as_block_state(&self) -> BlockState
fn as_block_state(&self) -> BlockState
Convert the block to a block state. Read more
Source§fn as_registry_block(&self) -> Block
fn as_registry_block(&self) -> Block
Convert the block to an
azalea_registry::Block
. Read moreSource§impl Clone for CherryLeaves
impl Clone for CherryLeaves
Source§fn clone(&self) -> CherryLeaves
fn clone(&self) -> CherryLeaves
Returns a duplicate 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 CherryLeaves
impl Debug for CherryLeaves
Source§impl Default for CherryLeaves
impl Default for CherryLeaves
Source§impl From<CherryLeaves> for BlockState
impl From<CherryLeaves> for BlockState
Source§fn from(b: CherryLeaves) -> Self
fn from(b: CherryLeaves) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CherryLeaves
impl PartialEq for CherryLeaves
impl Copy for CherryLeaves
impl StructuralPartialEq for CherryLeaves
Auto Trait Implementations§
impl Freeze for CherryLeaves
impl RefUnwindSafe for CherryLeaves
impl Send for CherryLeaves
impl Sync for CherryLeaves
impl Unpin for CherryLeaves
impl UnwindSafe for CherryLeaves
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