pub struct EntityPropertyModifierSpec {
pub uuid: UUID4,
pub amount: f64,
pub operation: EntityPropertyModifierOperation,
}
Fields§
§uuid: UUID4
§amount: f64
§operation: EntityPropertyModifierOperation
Trait Implementations§
Source§impl Clone for EntityPropertyModifierSpec
impl Clone for EntityPropertyModifierSpec
Source§fn clone(&self) -> EntityPropertyModifierSpec
fn clone(&self) -> EntityPropertyModifierSpec
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 EntityPropertyModifierSpec
impl Debug for EntityPropertyModifierSpec
Source§impl Deserialize for EntityPropertyModifierSpec
impl Deserialize for EntityPropertyModifierSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<EntityPropertyModifierSpec> for (UUID4, f64, EntityPropertyModifierOperation)
impl From<EntityPropertyModifierSpec> for (UUID4, f64, EntityPropertyModifierOperation)
Source§fn from(other: EntityPropertyModifierSpec) -> Self
fn from(other: EntityPropertyModifierSpec) -> Self
Converts to this type from the input type.
Source§impl Serialize for EntityPropertyModifierSpec
impl Serialize for EntityPropertyModifierSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for EntityPropertyModifierSpec
Auto Trait Implementations§
impl Freeze for EntityPropertyModifierSpec
impl RefUnwindSafe for EntityPropertyModifierSpec
impl Send for EntityPropertyModifierSpec
impl Sync for EntityPropertyModifierSpec
impl Unpin for EntityPropertyModifierSpec
impl UnwindSafe for EntityPropertyModifierSpec
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