pub struct ShotResult {
pub target_player: PlayerNumber,
pub damage: ShotgunDamage,
}
Fields§
§target_player: PlayerNumber
§damage: ShotgunDamage
Trait Implementations§
Source§impl Clone for ShotResult
impl Clone for ShotResult
Source§fn clone(&self) -> ShotResult
fn clone(&self) -> ShotResult
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ShotResult
impl RefUnwindSafe for ShotResult
impl Send for ShotResult
impl Sync for ShotResult
impl Unpin for ShotResult
impl UnwindSafe for ShotResult
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