Struct azalea_block::ComposterBlock
source · [−]pub struct ComposterBlock {
pub level: ComposterLevel,
}Fields
level: ComposterLevelTrait Implementations
sourceimpl Block for ComposterBlock
impl Block for ComposterBlock
sourceimpl Clone for ComposterBlock
impl Clone for ComposterBlock
sourcefn clone(&self) -> ComposterBlock
fn clone(&self) -> ComposterBlock
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ComposterBlock
impl Debug for ComposterBlock
sourceimpl Default for ComposterBlock
impl Default for ComposterBlock
sourceimpl From<ComposterBlock> for BlockState
impl From<ComposterBlock> for BlockState
sourcefn from(b: ComposterBlock) -> Self
fn from(b: ComposterBlock) -> Self
Converts to this type from the input type.
impl Copy for ComposterBlock
Auto Trait Implementations
impl RefUnwindSafe for ComposterBlock
impl Send for ComposterBlock
impl Sync for ComposterBlock
impl Unpin for ComposterBlock
impl UnwindSafe for ComposterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more