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