pub struct ThreeCardPegging { /* private fields */ }
Implementations§
Source§impl ThreeCardPegging
impl ThreeCardPegging
pub fn play_card( self, card: Card, pegger: &mut Pegger, ) -> Result<(u8, TwoCardPegging), (Self, CribbageCoreError)>
Trait Implementations§
Source§impl Clone for ThreeCardPegging
impl Clone for ThreeCardPegging
Source§fn clone(&self) -> ThreeCardPegging
fn clone(&self) -> ThreeCardPegging
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ThreeCardPegging
Auto Trait Implementations§
impl Freeze for ThreeCardPegging
impl RefUnwindSafe for ThreeCardPegging
impl Send for ThreeCardPegging
impl Sync for ThreeCardPegging
impl Unpin for ThreeCardPegging
impl UnwindSafe for ThreeCardPegging
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