pub struct PrettyCard(/* private fields */);Expand description
A Card wrapper that is printed with color.
Trait Implementations§
Source§impl Card for PrettyCard
impl Card for PrettyCard
Source§impl Clone for PrettyCard
impl Clone for PrettyCard
impl Copy for PrettyCard
Source§impl Debug for PrettyCard
impl Debug for PrettyCard
Source§impl Display for PrettyCard
impl Display for PrettyCard
impl Eq for PrettyCard
Source§impl From<Card> for PrettyCard
impl From<Card> for PrettyCard
Source§impl From<PrettyCard> for u8
impl From<PrettyCard> for u8
Source§fn from(value: PrettyCard) -> Self
fn from(value: PrettyCard) -> Self
Converts to this type from the input type.
Source§impl Hash for PrettyCard
impl Hash for PrettyCard
Source§impl Ord for PrettyCard
impl Ord for PrettyCard
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PrettyCard
impl PartialEq for PrettyCard
Source§impl PartialOrd for PrettyCard
impl PartialOrd for PrettyCard
Source§impl PrettyCard for PrettyCard
impl PrettyCard for PrettyCard
impl StructuralPartialEq for PrettyCard
Auto Trait Implementations§
impl Freeze for PrettyCard
impl RefUnwindSafe for PrettyCard
impl Send for PrettyCard
impl Sync for PrettyCard
impl Unpin for PrettyCard
impl UnsafeUnpin for PrettyCard
impl UnwindSafe for PrettyCard
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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