pub struct BannerLayer {
pub pattern: IdOr<BannerPattern>,
pub color: DyeColor,
}Expand description
Defines a layer on a Banner.
Fields§
§pattern: IdOr<BannerPattern>The pattern type (Flower, Skull, Stripe, etc.).
color: DyeColorThe dye color ID (0-15) for this layer.
Trait Implementations§
Source§impl Clone for BannerLayer
impl Clone for BannerLayer
Source§fn clone(&self) -> BannerLayer
fn clone(&self) -> BannerLayer
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 BannerLayer
impl Debug for BannerLayer
Source§impl<'a> Decode<'a> for BannerLayer
impl<'a> Decode<'a> for BannerLayer
Source§impl Encode for BannerLayer
impl Encode for BannerLayer
Source§impl PartialEq for BannerLayer
impl PartialEq for BannerLayer
impl StructuralPartialEq for BannerLayer
Auto Trait Implementations§
impl Freeze for BannerLayer
impl RefUnwindSafe for BannerLayer
impl Send for BannerLayer
impl Sync for BannerLayer
impl Unpin for BannerLayer
impl UnwindSafe for BannerLayer
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