pub struct WorkingDeck<'a> { /* private fields */ }
Implementations§
Source§impl<'a> WorkingDeck<'a>
impl<'a> WorkingDeck<'a>
pub fn new() -> WorkingDeck<'a>
pub fn add_card(&mut self, card: Card<'a>) -> Result<()>
pub fn set_header(&mut self, header: &'a [u8])
pub fn set_unparsed(&mut self, unparsed: &'a [u8])
Trait Implementations§
Source§impl<'a> Debug for WorkingDeck<'a>
impl<'a> Debug for WorkingDeck<'a>
Source§impl<'a> Default for WorkingDeck<'a>
impl<'a> Default for WorkingDeck<'a>
Source§impl<'a> From<WorkingDeck<'a>> for Deck<'a>
impl<'a> From<WorkingDeck<'a>> for Deck<'a>
Source§fn from(working_deck: WorkingDeck<'a>) -> Self
fn from(working_deck: WorkingDeck<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for WorkingDeck<'a>
impl<'a> PartialEq for WorkingDeck<'a>
impl<'a> StructuralPartialEq for WorkingDeck<'a>
Auto Trait Implementations§
impl<'a> Freeze for WorkingDeck<'a>
impl<'a> RefUnwindSafe for WorkingDeck<'a>
impl<'a> Send for WorkingDeck<'a>
impl<'a> Sync for WorkingDeck<'a>
impl<'a> Unpin for WorkingDeck<'a>
impl<'a> UnwindSafe for WorkingDeck<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more