pub struct BannerPattern {
pub pattern_type: VarInt,
pub asset_id: Option<Identifier>,
pub translation_key: Option<String>,
pub color: DyeColor,
}Fields§
§pattern_type: VarInt§asset_id: Option<Identifier>§translation_key: Option<String>§color: DyeColorTrait Implementations§
Source§impl Clone for BannerPattern
impl Clone for BannerPattern
Source§fn clone(&self) -> BannerPattern
fn clone(&self) -> BannerPattern
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 BannerPattern
impl Debug for BannerPattern
Source§impl Field for BannerPattern
impl Field 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