pub struct ThemeVariant(/* private fields */);Expand description
A named theme variant.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ThemeVariant
impl AsRef<str> for ThemeVariant
Source§impl Clone for ThemeVariant
impl Clone for ThemeVariant
Source§fn clone(&self) -> ThemeVariant
fn clone(&self) -> ThemeVariant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThemeVariant
impl Debug for ThemeVariant
Source§impl Hash for ThemeVariant
impl Hash for ThemeVariant
Source§impl Ord for ThemeVariant
impl Ord for ThemeVariant
Source§fn cmp(&self, other: &ThemeVariant) -> Ordering
fn cmp(&self, other: &ThemeVariant) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ThemeVariant
impl PartialEq for ThemeVariant
Source§fn eq(&self, other: &ThemeVariant) -> bool
fn eq(&self, other: &ThemeVariant) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ThemeVariant
impl PartialOrd for ThemeVariant
impl Eq for ThemeVariant
impl StructuralPartialEq for ThemeVariant
Auto Trait Implementations§
impl Freeze for ThemeVariant
impl RefUnwindSafe for ThemeVariant
impl Send for ThemeVariant
impl Sync for ThemeVariant
impl Unpin for ThemeVariant
impl UnsafeUnpin for ThemeVariant
impl UnwindSafe for ThemeVariant
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