pub struct Damage {
pub amount: i32,
}Fields§
§amount: i32Trait Implementations§
Source§impl AzaleaRead for Damage
impl AzaleaRead for Damage
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl AzaleaWrite for Damage
impl AzaleaWrite for Damage
Source§impl DataComponentTrait for Damage
impl DataComponentTrait for Damage
const KIND: DataComponentKind = DataComponentKind::Damage
Source§impl DefaultableComponent for Damage
impl DefaultableComponent for Damage
fn default_for_item(item: Item) -> Option<Self>
Source§impl From<Damage> for DataComponentUnion
impl From<Damage> for DataComponentUnion
impl StructuralPartialEq for Damage
Auto Trait Implementations§
impl Freeze for Damage
impl RefUnwindSafe for Damage
impl Send for Damage
impl Sync for Damage
impl Unpin for Damage
impl UnwindSafe for Damage
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