pub struct AttributeModifier {
pub attribute: Identifier,
pub operation: AttributeOperation,
pub amount: NumberProvider,
pub id: Identifier,
pub slot: EquipmentSlotGroup,
}Expand description
An attribute modifier for SetAttributes function.
Fields§
§attribute: Identifier§operation: AttributeOperation§amount: NumberProvider§id: Identifier§slot: EquipmentSlotGroupTrait Implementations§
Source§impl Clone for AttributeModifier
impl Clone for AttributeModifier
Source§fn clone(&self) -> AttributeModifier
fn clone(&self) -> AttributeModifier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AttributeModifier
impl RefUnwindSafe for AttributeModifier
impl Send for AttributeModifier
impl Sync for AttributeModifier
impl Unpin for AttributeModifier
impl UnsafeUnpin for AttributeModifier
impl UnwindSafe for AttributeModifier
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