[−][src]Struct cardpack::BridgeBoard
BridgeBoard is a French Deck Pack that sorts and validates the hands dealt as a part of a Bridge hand.
Fields
south: Pile
west: Pile
north: Pile
east: Pile
Implementations
impl BridgeBoard
[src]
pub fn from_pbn_deal(deal: &str) -> BridgeBoard
[src]
Parses a Portable Bridge Notation deal string and converts it into a BridgeBoard struct.
pub fn deal() -> BridgeBoard
[src]
pub fn demo(&self)
[src]
pub fn get_pack(&self) -> &Pack
[src]
pub fn is_valid(&self) -> bool
[src]
pub fn to_pbn_deal(&self) -> String
[src]
Returns a Portable Bridge Notation deal string from a Bridge Board.
Trait Implementations
impl Clone for BridgeBoard
[src]
fn clone(&self) -> BridgeBoard
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BridgeBoard
[src]
impl Default for BridgeBoard
[src]
impl Hash for BridgeBoard
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<BridgeBoard> for BridgeBoard
[src]
fn eq(&self, other: &BridgeBoard) -> bool
[src]
fn ne(&self, other: &BridgeBoard) -> bool
[src]
impl StructuralPartialEq for BridgeBoard
[src]
Auto Trait Implementations
impl RefUnwindSafe for BridgeBoard
impl Send for BridgeBoard
impl Sync for BridgeBoard
impl Unpin for BridgeBoard
impl UnwindSafe for BridgeBoard
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AnyEq for T where
T: PartialEq<T> + Any,
T: PartialEq<T> + Any,
pub fn equals(&self, other: &(dyn Any + 'static)) -> bool
pub fn as_any(&self) -> &(dyn Any + 'static)
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,