Enum raui::material::theme::ThemeColorVariant
source · pub enum ThemeColorVariant {
Main,
Light,
Dark,
}Variants§
Trait Implementations§
source§impl Clone for ThemeColorVariant
impl Clone for ThemeColorVariant
source§fn clone(&self) -> ThemeColorVariant
fn clone(&self) -> ThemeColorVariant
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 ThemeColorVariant
impl Debug for ThemeColorVariant
source§impl Default for ThemeColorVariant
impl Default for ThemeColorVariant
source§fn default() -> ThemeColorVariant
fn default() -> ThemeColorVariant
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ThemeColorVariant
impl<'de> Deserialize<'de> for ThemeColorVariant
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ThemeColorVariant, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ThemeColorVariant, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ThemeColorVariant
impl PartialEq for ThemeColorVariant
source§fn eq(&self, other: &ThemeColorVariant) -> bool
fn eq(&self, other: &ThemeColorVariant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ThemeColorVariant
impl Serialize for ThemeColorVariant
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for ThemeColorVariant
impl Eq for ThemeColorVariant
impl StructuralEq for ThemeColorVariant
impl StructuralPartialEq for ThemeColorVariant
Auto Trait Implementations§
impl RefUnwindSafe for ThemeColorVariant
impl Send for ThemeColorVariant
impl Sync for ThemeColorVariant
impl Unpin for ThemeColorVariant
impl UnwindSafe for ThemeColorVariant
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
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.§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more
§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().