Struct freebj::game_rules::GameRules
source · [−]pub struct GameRules {
pub game_type: GameType,
pub soft17: Soft17,
pub das: bool,
pub bj_pays: f64,
pub double_down: DoublePolicy,
pub surrender: SurrenderPolicy,
pub play_ace_pairs: bool,
pub max_splits: u32,
pub decks: u32,
pub penetration_cards: u32,
}
Fields
game_type: GameType
soft17: Soft17
das: bool
bj_pays: f64
double_down: DoublePolicy
surrender: SurrenderPolicy
play_ace_pairs: bool
max_splits: u32
decks: u32
penetration_cards: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GameRules
impl Send for GameRules
impl Sync for GameRules
impl Unpin for GameRules
impl UnwindSafe for GameRules
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