Struct clap::builder::styling::Ansi256Color
#[repr(transparent)]pub struct Ansi256Color(pub u8);Expand description
Tuple Fields§
§0: u8Implementations§
§impl Ansi256Color
impl Ansi256Color
Trait Implementations§
§impl Clone for Ansi256Color
impl Clone for Ansi256Color
§fn clone(&self) -> Ansi256Color
fn clone(&self) -> Ansi256Color
Returns a copy 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 more§impl Debug for Ansi256Color
impl Debug for Ansi256Color
§impl From<Ansi256Color> for Color
impl From<Ansi256Color> for Color
§fn from(inner: Ansi256Color) -> Color
fn from(inner: Ansi256Color) -> Color
Converts to this type from the input type.
§impl From<AnsiColor> for Ansi256Color
impl From<AnsiColor> for Ansi256Color
§fn from(inner: AnsiColor) -> Ansi256Color
fn from(inner: AnsiColor) -> Ansi256Color
Converts to this type from the input type.
§impl From<u8> for Ansi256Color
impl From<u8> for Ansi256Color
§fn from(inner: u8) -> Ansi256Color
fn from(inner: u8) -> Ansi256Color
Converts to this type from the input type.
§impl Hash for Ansi256Color
impl Hash for Ansi256Color
§impl Ord for Ansi256Color
impl Ord for Ansi256Color
§impl PartialEq for Ansi256Color
impl PartialEq for Ansi256Color
§fn eq(&self, other: &Ansi256Color) -> bool
fn eq(&self, other: &Ansi256Color) -> bool
This method tests for
self and other values to be equal, and is used
by ==.§impl PartialOrd for Ansi256Color
impl PartialOrd for Ansi256Color
§fn partial_cmp(&self, other: &Ansi256Color) -> Option<Ordering>
fn partial_cmp(&self, other: &Ansi256Color) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Ansi256Color
impl Eq for Ansi256Color
impl StructuralEq for Ansi256Color
impl StructuralPartialEq for Ansi256Color
Auto Trait Implementations§
impl RefUnwindSafe for Ansi256Color
impl Send for Ansi256Color
impl Sync for Ansi256Color
impl Unpin for Ansi256Color
impl UnwindSafe for Ansi256Color
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