pub enum Split {
Never,
Optional,
Always,
}
Expand description
Specifies if a player may/must split a stack into two non-empty stacks after taking coins
Variants§
Never
Splitting the stack is not allowed
Optional
The stack may be split into two non-empty stacks after taking coins
Always
The stack must be split into two non-empty stacks after taking coins
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Split
impl<'de> Deserialize<'de> for Split
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Split
impl Ord for Split
Source§impl PartialOrd for Split
impl PartialOrd for Split
impl Copy for Split
impl Eq for Split
impl StructuralPartialEq for Split
Auto Trait Implementations§
impl Freeze for Split
impl RefUnwindSafe for Split
impl Send for Split
impl Sync for Split
impl Unpin for Split
impl UnwindSafe for Split
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