Enum seaplane_cli::printer::ColorChoice
source · [−]pub enum ColorChoice {
Always,
Ansi,
Auto,
Never,
}Variants
Always
Ansi
Auto
Never
Trait Implementations
sourceimpl Clone for ColorChoice
impl Clone for ColorChoice
sourcefn clone(&self) -> ColorChoice
fn clone(&self) -> ColorChoice
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ColorChoice
impl Debug for ColorChoice
sourceimpl Default for ColorChoice
impl Default for ColorChoice
sourceimpl<'de> Deserialize<'de> for ColorChoice
impl<'de> Deserialize<'de> for ColorChoice
sourcefn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> StdResult<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> StdResult<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for ColorChoice
impl Display for ColorChoice
sourceimpl FromStr for ColorChoice
impl FromStr for ColorChoice
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl PartialEq<ColorChoice> for ColorChoice
impl PartialEq<ColorChoice> for ColorChoice
sourcefn eq(&self, other: &ColorChoice) -> bool
fn eq(&self, other: &ColorChoice) -> bool
sourceimpl Serialize for ColorChoice
impl Serialize for ColorChoice
sourceimpl TryFrom<&str> for ColorChoice
impl TryFrom<&str> for ColorChoice
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourceimpl ValueEnum for ColorChoice
impl ValueEnum for ColorChoice
sourcefn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
fn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
All possible argument values, in display order.
sourcefn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
fn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
The canonical argument value. Read more
impl Copy for ColorChoice
impl Eq for ColorChoice
impl StructuralEq for ColorChoice
impl StructuralPartialEq for ColorChoice
Auto Trait Implementations
impl RefUnwindSafe for ColorChoice
impl Send for ColorChoice
impl Sync for ColorChoice
impl Unpin for ColorChoice
impl UnwindSafe for ColorChoice
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.