pub struct CherryFence {
pub east: bool,
pub north: bool,
pub south: bool,
pub waterlogged: bool,
pub west: bool,
}
Fields§
§east: bool
§north: bool
§south: bool
§waterlogged: bool
§west: bool
Trait Implementations§
Source§impl BlockTrait for CherryFence
impl BlockTrait for CherryFence
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 CherryFence
impl Clone for CherryFence
Source§fn clone(&self) -> CherryFence
fn clone(&self) -> CherryFence
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 CherryFence
impl Debug for CherryFence
Source§impl Default for CherryFence
impl Default for CherryFence
Source§impl From<CherryFence> for BlockState
impl From<CherryFence> for BlockState
Source§fn from(b: CherryFence) -> Self
fn from(b: CherryFence) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CherryFence
impl PartialEq for CherryFence
impl Copy for CherryFence
impl StructuralPartialEq for CherryFence
Auto Trait Implementations§
impl Freeze for CherryFence
impl RefUnwindSafe for CherryFence
impl Send for CherryFence
impl Sync for CherryFence
impl Unpin for CherryFence
impl UnwindSafe for CherryFence
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