pub struct AttributeModifier {
pub attribute: EntityAttribute,
pub operation: EntityAttributeOperation,
pub value: f64,
pub uuid: Uuid,
}
Expand description
Represents an attribute modifier.
Fields§
§attribute: EntityAttribute
The attribute that this modifier modifies.
operation: EntityAttributeOperation
The operation that this modifier applies.
value: f64
The value of this modifier.
uuid: Uuid
The UUID of this modifier.
Trait Implementations§
source§impl Clone for AttributeModifier
impl Clone for AttributeModifier
source§fn clone(&self) -> AttributeModifier
fn clone(&self) -> AttributeModifier
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 AttributeModifier
impl Debug for AttributeModifier
source§impl PartialEq for AttributeModifier
impl PartialEq for AttributeModifier
impl Copy for AttributeModifier
impl StructuralPartialEq for AttributeModifier
Auto Trait Implementations§
impl Freeze for AttributeModifier
impl RefUnwindSafe for AttributeModifier
impl Send for AttributeModifier
impl Sync for AttributeModifier
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)