Enum freebj::game_rules::SurrenderPolicy
source · [−]pub enum SurrenderPolicy {
NoSurrender,
EarlySurrender,
LateSurrender,
}
Variants
NoSurrender
Do not allow surrender
EarlySurrender
Allow early surrender
LateSurrender
Allow late surrender (AHC only)
Trait Implementations
sourceimpl Debug for SurrenderPolicy
impl Debug for SurrenderPolicy
sourceimpl PartialEq<SurrenderPolicy> for SurrenderPolicy
impl PartialEq<SurrenderPolicy> for SurrenderPolicy
sourceimpl Serialize for SurrenderPolicy
impl Serialize for SurrenderPolicy
impl StructuralPartialEq for SurrenderPolicy
Auto Trait Implementations
impl RefUnwindSafe for SurrenderPolicy
impl Send for SurrenderPolicy
impl Sync for SurrenderPolicy
impl Unpin for SurrenderPolicy
impl UnwindSafe for SurrenderPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more