pub struct OccupiedSeat<'seat> {
pub player: &'seat mut RoundPlayer,
pub items: &'seat mut Vec<Item>,
}
Fields§
§player: &'seat mut RoundPlayer
§items: &'seat mut Vec<Item>
Implementations§
Source§impl<'seat> OccupiedSeat<'seat>
impl<'seat> OccupiedSeat<'seat>
pub fn shoot(&mut self, shell: Shell, sawn: bool) -> ShotgunDamage
Trait Implementations§
Auto Trait Implementations§
impl<'seat> Freeze for OccupiedSeat<'seat>
impl<'seat> RefUnwindSafe for OccupiedSeat<'seat>
impl<'seat> Send for OccupiedSeat<'seat>
impl<'seat> Sync for OccupiedSeat<'seat>
impl<'seat> Unpin for OccupiedSeat<'seat>
impl<'seat> !UnwindSafe for OccupiedSeat<'seat>
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