pub struct DynamicRecipeComponentDefinedItem;
Expand description
Represents the “dynamic_recipe_component_defined_item” attributes.
Trait Implementations§
Source§impl Attributes for DynamicRecipeComponentDefinedItem
impl Attributes for DynamicRecipeComponentDefinedItem
Source§const USES_FLOAT_VALUE: bool = true
const USES_FLOAT_VALUE: bool = true
See
Attribute::USES_FLOAT_VALUE
. This applies to all attributes in the set.Source§const ATTRIBUTES: &'static [AttributeDef]
const ATTRIBUTES: &'static [AttributeDef]
The attribute definition.
Source§fn attribute_value(&self) -> AttributeValue
fn attribute_value(&self) -> AttributeValue
Gets the attribute value.
Source§fn attribute_float_value(&self) -> Option<f32>
fn attribute_float_value(&self) -> Option<f32>
Gets the attribute float value.
Source§fn get_attribute_def_by_defindex(defindex: u32) -> Option<&'static AttributeDef>
fn get_attribute_def_by_defindex(defindex: u32) -> Option<&'static AttributeDef>
Gets the attribute definition for a given defindex.
Source§impl Clone for DynamicRecipeComponentDefinedItem
impl Clone for DynamicRecipeComponentDefinedItem
Source§fn clone(&self) -> DynamicRecipeComponentDefinedItem
fn clone(&self) -> DynamicRecipeComponentDefinedItem
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 Default for DynamicRecipeComponentDefinedItem
impl Default for DynamicRecipeComponentDefinedItem
Source§fn default() -> DynamicRecipeComponentDefinedItem
fn default() -> DynamicRecipeComponentDefinedItem
Returns the “default value” for a type. Read more
Source§impl PartialEq for DynamicRecipeComponentDefinedItem
impl PartialEq for DynamicRecipeComponentDefinedItem
Source§fn eq(&self, other: &DynamicRecipeComponentDefinedItem) -> bool
fn eq(&self, other: &DynamicRecipeComponentDefinedItem) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for DynamicRecipeComponentDefinedItem
impl Eq for DynamicRecipeComponentDefinedItem
impl StructuralPartialEq for DynamicRecipeComponentDefinedItem
Auto Trait Implementations§
impl Freeze for DynamicRecipeComponentDefinedItem
impl RefUnwindSafe for DynamicRecipeComponentDefinedItem
impl Send for DynamicRecipeComponentDefinedItem
impl Sync for DynamicRecipeComponentDefinedItem
impl Unpin for DynamicRecipeComponentDefinedItem
impl UnwindSafe for DynamicRecipeComponentDefinedItem
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