pub struct PartyFull<P: MonsterProvider>(pub MonsterInstance<P>);Expand description
Error returned when adding to a full Party or StorageBox.
Carries the rejected monster back to the caller so nothing is lost.
Tuple Fields§
§0: MonsterInstance<P>Trait Implementations§
impl<P: Eq + MonsterProvider> Eq for PartyFull<P>
impl<P: PartialEq + MonsterProvider> StructuralPartialEq for PartyFull<P>
Auto Trait Implementations§
impl<P> Freeze for PartyFull<P>where
MonsterInstance<P>: Freeze,
impl<P> RefUnwindSafe for PartyFull<P>where
MonsterInstance<P>: RefUnwindSafe,
impl<P> Send for PartyFull<P>where
MonsterInstance<P>: Send,
impl<P> Sync for PartyFull<P>where
MonsterInstance<P>: Sync,
impl<P> Unpin for PartyFull<P>where
MonsterInstance<P>: Unpin,
impl<P> UnsafeUnpin for PartyFull<P>where
MonsterInstance<P>: UnsafeUnpin,
impl<P> UnwindSafe for PartyFull<P>where
MonsterInstance<P>: UnwindSafe,
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