Enum broot::syntactic::SyntaxTheme
source · [−]pub enum SyntaxTheme {
GitHub,
SolarizedDark,
SolarizedLight,
EightiesDark,
MochaDark,
OceanDark,
OceanLight,
}
Variants
GitHub
SolarizedDark
SolarizedLight
EightiesDark
MochaDark
OceanDark
OceanLight
Implementations
sourceimpl SyntaxTheme
impl SyntaxTheme
Trait Implementations
sourceimpl Clone for SyntaxTheme
impl Clone for SyntaxTheme
sourcefn clone(&self) -> SyntaxTheme
fn clone(&self) -> SyntaxTheme
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SyntaxTheme
impl Debug for SyntaxTheme
sourceimpl Default for SyntaxTheme
impl Default for SyntaxTheme
sourceimpl<'de> Deserialize<'de> for SyntaxTheme
impl<'de> Deserialize<'de> for SyntaxTheme
sourcefn 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
sourceimpl FromStr for SyntaxTheme
impl FromStr for SyntaxTheme
sourceimpl PartialEq<SyntaxTheme> for SyntaxTheme
impl PartialEq<SyntaxTheme> for SyntaxTheme
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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 Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
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.
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn 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()
.
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian()
.
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian()
.