Struct level_lib::anvil::region::chunk::block_entity::BannerPattern
source · pub struct BannerPattern {
pub color: Color,
pub variant: BannerPatternVariant,
}Expand description
A Struct managing one pattern of a banner
Fields§
§color: ColorThe color of the pattern
variant: BannerPatternVariantThe pattern variant
Trait Implementations§
source§impl Debug for BannerPattern
impl Debug for BannerPattern
source§impl PartialEq for BannerPattern
impl PartialEq for BannerPattern
source§fn eq(&self, other: &BannerPattern) -> bool
fn eq(&self, other: &BannerPattern) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BannerPattern
Auto Trait Implementations§
impl Freeze for BannerPattern
impl RefUnwindSafe for BannerPattern
impl Send for BannerPattern
impl Sync for BannerPattern
impl Unpin for BannerPattern
impl UnwindSafe for BannerPattern
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