pub struct ResourceAttack {
pub resource: Resource,
pub amount: u32,
pub from_id: u32,
pub to_id: u32,
}Fields§
§resource: Resource§amount: u32§from_id: u32§to_id: u32Auto Trait Implementations§
impl Freeze for ResourceAttack
impl RefUnwindSafe for ResourceAttack
impl Send for ResourceAttack
impl Sync for ResourceAttack
impl Unpin for ResourceAttack
impl UnwindSafe for ResourceAttack
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