pub struct DynamicRecipeComponentDefinedItem2;
Expand description
Represents the “dynamic_recipe_component_defined_item” attribute.
Trait Implementations§
Source§impl Attribute for DynamicRecipeComponentDefinedItem2
impl Attribute for DynamicRecipeComponentDefinedItem2
Source§const USES_FLOAT_VALUE: bool = true
const USES_FLOAT_VALUE: bool = true
Not part of the schema. Read more
Source§const ATTRIBUTE: AttributeDef
const ATTRIBUTE: AttributeDef
The attribute definition.
Source§fn attribute_float_value(&self) -> Option<f32>
fn attribute_float_value(&self) -> Option<f32>
Gets the attribute float value.
Source§fn attribute_value(&self) -> AttributeValue
fn attribute_value(&self) -> AttributeValue
Gets the attribute value.
Source§impl Clone for DynamicRecipeComponentDefinedItem2
impl Clone for DynamicRecipeComponentDefinedItem2
Source§fn clone(&self) -> DynamicRecipeComponentDefinedItem2
fn clone(&self) -> DynamicRecipeComponentDefinedItem2
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 DynamicRecipeComponentDefinedItem2
impl Default for DynamicRecipeComponentDefinedItem2
Source§fn default() -> DynamicRecipeComponentDefinedItem2
fn default() -> DynamicRecipeComponentDefinedItem2
Returns the “default value” for a type. Read more
Source§impl PartialEq for DynamicRecipeComponentDefinedItem2
impl PartialEq for DynamicRecipeComponentDefinedItem2
Source§fn eq(&self, other: &DynamicRecipeComponentDefinedItem2) -> bool
fn eq(&self, other: &DynamicRecipeComponentDefinedItem2) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for DynamicRecipeComponentDefinedItem2
impl Eq for DynamicRecipeComponentDefinedItem2
impl StructuralPartialEq for DynamicRecipeComponentDefinedItem2
Auto Trait Implementations§
impl Freeze for DynamicRecipeComponentDefinedItem2
impl RefUnwindSafe for DynamicRecipeComponentDefinedItem2
impl Send for DynamicRecipeComponentDefinedItem2
impl Sync for DynamicRecipeComponentDefinedItem2
impl Unpin for DynamicRecipeComponentDefinedItem2
impl UnwindSafe for DynamicRecipeComponentDefinedItem2
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