pub struct TrimMaterial {
pub key: Identifier,
pub asset_name: String,
pub description: StyledTextComponent,
pub override_armor_assets: FxHashMap<Identifier, String>,
}Expand description
Represents an armor trim material definition from the data packs.
Fields§
§key: Identifier§asset_name: String§description: StyledTextComponent§override_armor_assets: FxHashMap<Identifier, String>Trait Implementations§
Source§impl Debug for TrimMaterial
impl Debug for TrimMaterial
Source§impl RegistryEntry for TrimMaterial
impl RegistryEntry for TrimMaterial
Source§impl ToNbtTag for &TrimMaterial
impl ToNbtTag for &TrimMaterial
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Auto Trait Implementations§
impl Freeze for TrimMaterial
impl RefUnwindSafe for TrimMaterial
impl Send for TrimMaterial
impl Sync for TrimMaterial
impl Unpin for TrimMaterial
impl UnsafeUnpin for TrimMaterial
impl UnwindSafe for TrimMaterial
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