pub struct BattleTeam<'a> { /* private fields */ }
Implementations§
Source§impl<'a> BattleTeam<'_>
impl<'a> BattleTeam<'_>
pub fn current(&self) -> Option<&BattleFighter>
pub fn current_mut(&mut self) -> Option<&mut BattleFighter>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BattleTeam<'a>
impl<'a> RefUnwindSafe for BattleTeam<'a>
impl<'a> Send for BattleTeam<'a>
impl<'a> Sync for BattleTeam<'a>
impl<'a> Unpin for BattleTeam<'a>
impl<'a> !UnwindSafe for BattleTeam<'a>
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