Struct soliterm_model::card::Card
source · [−]Fields
rank: Rank
suit: Suit
Implementations
Trait Implementations
sourceimpl Enum for Card
impl Enum for Card
sourcefn from_usize(value: usize) -> Self
fn from_usize(value: usize) -> Self
Takes an usize, and returns an element matching
into_usize
function.sourcefn into_usize(self) -> usize
fn into_usize(self) -> usize
Returns an unique identifier for a value within range of
0..Array::LENGTH
.sourceimpl Extend<Card> for Cards
impl Extend<Card> for Cards
sourcefn extend<I>(&mut self, cards: I)where
I: IntoIterator<Item = Card>,
fn extend<I>(&mut self, cards: I)where
I: IntoIterator<Item = Card>,
Extends a collection with the contents of an iterator. Read more
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
sourceimpl<'a> Extend<Card> for SegmentMut<'a>
impl<'a> Extend<Card> for SegmentMut<'a>
sourcefn extend<I>(&mut self, cards: I)where
I: IntoIterator<Item = Card>,
fn extend<I>(&mut self, cards: I)where
I: IntoIterator<Item = Card>,
Extends a collection with the contents of an iterator. Read more
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
sourceimpl Extend<Card> for Split
impl Extend<Card> for Split
sourcefn extend<I>(&mut self, cards: I)where
I: IntoIterator<Item = Card>,
fn extend<I>(&mut self, cards: I)where
I: IntoIterator<Item = Card>,
Extends a collection with the contents of an iterator. Read more
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
sourceimpl FromIterator<Card> for Cards
impl FromIterator<Card> for Cards
sourcefn from_iter<I>(cards: I) -> Selfwhere
I: IntoIterator<Item = Card>,
fn from_iter<I>(cards: I) -> Selfwhere
I: IntoIterator<Item = Card>,
Creates a value from an iterator. Read more
sourceimpl FromIterator<Card> for Foundation
impl FromIterator<Card> for Foundation
sourcefn from_iter<I>(cards: I) -> Selfwhere
I: IntoIterator<Item = Card>,
fn from_iter<I>(cards: I) -> Selfwhere
I: IntoIterator<Item = Card>,
Creates a value from an iterator. Read more
sourceimpl FromIterator<Card> for Stock
impl FromIterator<Card> for Stock
sourcefn from_iter<I>(cards: I) -> Selfwhere
I: IntoIterator<Item = Card>,
fn from_iter<I>(cards: I) -> Selfwhere
I: IntoIterator<Item = Card>,
Creates a value from an iterator. Read more
sourceimpl FromIterator<Card> for Tableau
impl FromIterator<Card> for Tableau
sourcefn from_iter<I>(cards: I) -> Selfwhere
I: IntoIterator<Item = Card>,
fn from_iter<I>(cards: I) -> Selfwhere
I: IntoIterator<Item = Card>,
Creates a value from an iterator. Read more
impl Copy for Card
impl Eq for Card
impl StructuralEq for Card
impl StructuralPartialEq for Card
Auto Trait Implementations
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more