pub struct AttributeModifier {
pub attribute_id: VarInt,
pub modifier_id: Identifier,
pub value: Double,
pub operation: VarInt,
pub slot: VarInt,
}Fields§
§attribute_id: VarInt§modifier_id: Identifier§value: Double§operation: VarInt§slot: VarIntImplementations§
Trait 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 · 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 Field for AttributeModifier
impl Field 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