pub struct TwoCardPegging { /* private fields */ }Implementations§
Source§impl TwoCardPegging
impl TwoCardPegging
pub fn play_card( self, card: Card, pegger: &mut Pegger, ) -> Result<(u8, OneCardPegging), (Self, CribbageCoreError)>
Trait Implementations§
Source§impl Clone for TwoCardPegging
impl Clone for TwoCardPegging
Source§fn clone(&self) -> TwoCardPegging
fn clone(&self) -> TwoCardPegging
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 TwoCardPegging
Auto Trait Implementations§
impl Freeze for TwoCardPegging
impl RefUnwindSafe for TwoCardPegging
impl Send for TwoCardPegging
impl Sync for TwoCardPegging
impl Unpin for TwoCardPegging
impl UnwindSafe for TwoCardPegging
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