Enum broot::syntactic::SyntaxTheme
source · pub enum SyntaxTheme {
GitHub,
SolarizedDark,
SolarizedLight,
EightiesDark,
MochaDark,
OceanDark,
OceanLight,
}
Variants§
Implementations§
source§impl SyntaxTheme
impl SyntaxTheme
Trait Implementations§
source§impl Clone for SyntaxTheme
impl Clone for SyntaxTheme
source§fn clone(&self) -> SyntaxTheme
fn clone(&self) -> SyntaxTheme
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 moresource§impl Debug for SyntaxTheme
impl Debug for SyntaxTheme
source§impl Default for SyntaxTheme
impl Default for SyntaxTheme
source§impl<'de> Deserialize<'de> for SyntaxTheme
impl<'de> Deserialize<'de> for SyntaxTheme
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for SyntaxTheme
impl FromStr for SyntaxTheme
source§impl PartialEq for SyntaxTheme
impl PartialEq for SyntaxTheme
source§fn eq(&self, other: &SyntaxTheme) -> bool
fn eq(&self, other: &SyntaxTheme) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SyntaxTheme
impl Eq for SyntaxTheme
impl StructuralEq for SyntaxTheme
impl StructuralPartialEq for SyntaxTheme
Auto Trait Implementations§
impl RefUnwindSafe for SyntaxTheme
impl Send for SyntaxTheme
impl Sync for SyntaxTheme
impl Unpin for SyntaxTheme
impl UnwindSafe for SyntaxTheme
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
§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<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
Compare self to
key
and return true
if they are equal.source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.