#[repr(C)]pub struct DealPBN {
pub trump: c_int,
pub first: c_int,
pub currentTrickSuit: [c_int; 3],
pub currentTrickRank: [c_int; 3],
pub remainCards: [c_char; 80],
}Expand description
@brief Represents a bridge Deal in PBN (Portable Bridge Notation) format.
@param trump The trump suit @param first The hand to play first @param currentTrickSuit Suits of cards played in the current trick @param currentTrickRank Ranks of cards played in the current trick @param remainCards PBN string describing remaining cards
Fields§
§trump: c_int§first: c_int§currentTrickSuit: [c_int; 3]§currentTrickRank: [c_int; 3]§remainCards: [c_char; 80]Trait Implementations§
impl Copy for DealPBN
impl Eq for DealPBN
impl StructuralPartialEq for DealPBN
Auto Trait Implementations§
impl Freeze for DealPBN
impl RefUnwindSafe for DealPBN
impl Send for DealPBN
impl Sync for DealPBN
impl Unpin for DealPBN
impl UnsafeUnpin for DealPBN
impl UnwindSafe for DealPBN
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