Struct rio_config::theme::AdaptiveColors
source · pub struct AdaptiveColors {
pub dark: Option<Colors>,
pub light: Option<Colors>,
}Fields§
§dark: Option<Colors>§light: Option<Colors>Trait Implementations§
source§impl Clone for AdaptiveColors
impl Clone for AdaptiveColors
source§fn clone(&self) -> AdaptiveColors
fn clone(&self) -> AdaptiveColors
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 AdaptiveColors
impl Debug for AdaptiveColors
source§impl Default for AdaptiveColors
impl Default for AdaptiveColors
source§fn default() -> AdaptiveColors
fn default() -> AdaptiveColors
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AdaptiveColors
impl<'de> Deserialize<'de> for AdaptiveColors
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 PartialEq for AdaptiveColors
impl PartialEq for AdaptiveColors
source§fn eq(&self, other: &AdaptiveColors) -> bool
fn eq(&self, other: &AdaptiveColors) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AdaptiveColors
impl Serialize for AdaptiveColors
impl StructuralPartialEq for AdaptiveColors
Auto Trait Implementations§
impl RefUnwindSafe for AdaptiveColors
impl Send for AdaptiveColors
impl Sync for AdaptiveColors
impl Unpin for AdaptiveColors
impl UnwindSafe for AdaptiveColors
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