pub struct TrimPattern {
pub key: Identifier,
pub asset_id: Identifier,
pub description: TextComponent,
pub decal: bool,
}Expand description
Represents an armor trim pattern definition from the data packs.
Fields§
§key: Identifier§asset_id: Identifier§description: TextComponent§decal: boolTrait Implementations§
Source§impl Debug for TrimPattern
impl Debug for TrimPattern
Source§impl RegistryEntry for TrimPattern
impl RegistryEntry for TrimPattern
Source§impl ToNbtTag for &TrimPattern
impl ToNbtTag for &TrimPattern
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Auto Trait Implementations§
impl Freeze for TrimPattern
impl RefUnwindSafe for TrimPattern
impl Send for TrimPattern
impl Sync for TrimPattern
impl Unpin for TrimPattern
impl UnsafeUnpin for TrimPattern
impl UnwindSafe for TrimPattern
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