pub struct BannerPattern {
pub key: Identifier,
pub asset_id: Identifier,
pub translation_key: &'static str,
}Expand description
Represents a banner pattern definition from a data pack JSON file.
Fields§
§key: Identifier§asset_id: Identifier§translation_key: &'static strTrait Implementations§
Source§impl Debug for BannerPattern
impl Debug for BannerPattern
Source§impl RegistryEntry for BannerPattern
impl RegistryEntry for BannerPattern
Source§impl ToNbtTag for &BannerPattern
impl ToNbtTag for &BannerPattern
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Auto Trait Implementations§
impl Freeze for BannerPattern
impl RefUnwindSafe for BannerPattern
impl Send for BannerPattern
impl Sync for BannerPattern
impl Unpin for BannerPattern
impl UnsafeUnpin 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