Enum git_repository::config::color::Name
pub enum Name {
}
Expand description
Discriminating enum for names of Color
values.
git-config
supports the eight standard colors, their bright variants, an
ANSI color code, or a 24-bit hex value prefixed with an octothorpe/hash.
Variants§
Normal
Default
Black
BrightBlack
Red
BrightRed
Green
BrightGreen
Yellow
BrightYellow
Blue
BrightBlue
Magenta
BrightMagenta
Cyan
BrightCyan
White
BrightWhite
Ansi(u8)
Rgb(u8, u8, u8)
Trait Implementations§
§impl Ord for Name
impl Ord for Name
§impl PartialOrd<Name> for Name
impl PartialOrd<Name> for Name
§fn partial_cmp(&self, other: &Name) -> Option<Ordering>
fn partial_cmp(&self, other: &Name) -> 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 Name
impl Eq for Name
impl StructuralEq for Name
impl StructuralPartialEq for Name
Auto Trait Implementations§
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnwindSafe for Name
Blanket Implementations§
§impl<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere T: Display,
§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString
]. Read more