pub enum ColorOrigin {
File,
FormatDefault,
Project,
}Expand description
Where a source’s color description comes from.
Variants§
File
The file declares it.
FormatDefault
The file does not say and the format defines a default.
Project
The project says so, overriding the file.
Trait Implementations§
Source§impl Clone for ColorOrigin
impl Clone for ColorOrigin
impl Copy for ColorOrigin
Source§impl Debug for ColorOrigin
impl Debug for ColorOrigin
impl Eq for ColorOrigin
Source§impl PartialEq for ColorOrigin
impl PartialEq for ColorOrigin
Source§impl Serialize for ColorOrigin
impl Serialize for ColorOrigin
impl StructuralPartialEq for ColorOrigin
Auto Trait Implementations§
impl Freeze for ColorOrigin
impl RefUnwindSafe for ColorOrigin
impl Send for ColorOrigin
impl Sync for ColorOrigin
impl Unpin for ColorOrigin
impl UnsafeUnpin for ColorOrigin
impl UnwindSafe for ColorOrigin
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.