Struct azalea_core::registry_holder::TrimMaterialElement
source · pub struct TrimMaterialElement {
pub asset_name: String,
pub ingredient: ResourceLocation,
pub item_model_index: f32,
pub override_armor_materials: HashMap<String, String>,
pub description: Option<String>,
}
Fields§
§asset_name: String
§ingredient: ResourceLocation
§item_model_index: f32
§override_armor_materials: HashMap<String, String>
§description: Option<String>
Trait Implementations§
source§impl Clone for TrimMaterialElement
impl Clone for TrimMaterialElement
source§fn clone(&self) -> TrimMaterialElement
fn clone(&self) -> TrimMaterialElement
Returns a copy 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 TrimMaterialElement
impl Debug for TrimMaterialElement
source§impl Deserialize for TrimMaterialElement
impl Deserialize for TrimMaterialElement
fn from_compound(nbt: &NbtCompound<'_>) -> Result<Self, DeserializeError>
fn from_nbt(nbt: &BaseNbt<'_>) -> Result<Self, DeserializeError>
source§impl Serialize for TrimMaterialElement
impl Serialize for TrimMaterialElement
fn to_compound(self) -> NbtCompound
fn to_nbt(self) -> BaseNbt
Auto Trait Implementations§
impl Freeze for TrimMaterialElement
impl RefUnwindSafe for TrimMaterialElement
impl Send for TrimMaterialElement
impl Sync for TrimMaterialElement
impl Unpin for TrimMaterialElement
impl UnwindSafe for TrimMaterialElement
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