#[repr(i32)]pub enum PlatformThemeVariant {
Light = 0,
Dark = 1,
}Expand description
System theme variant or mode.
Variants§
Trait Implementations§
Source§impl Clone for PlatformThemeVariant
impl Clone for PlatformThemeVariant
impl Copy for PlatformThemeVariant
Source§impl Debug for PlatformThemeVariant
impl Debug for PlatformThemeVariant
Source§impl Default for PlatformThemeVariant
impl Default for PlatformThemeVariant
impl Eq for PlatformThemeVariant
Source§impl From<PlatformThemeVariant> for ThemeVariant
The original’s explicit conversion from a platform theme variant.
impl From<PlatformThemeVariant> for ThemeVariant
The original’s explicit conversion from a platform theme variant.
Source§fn from(theme_variant: PlatformThemeVariant) -> Self
fn from(theme_variant: PlatformThemeVariant) -> Self
Converts to this type from the input type.
Source§impl Hash for PlatformThemeVariant
impl Hash for PlatformThemeVariant
Source§impl MarkupTyped for PlatformThemeVariant
impl MarkupTyped for PlatformThemeVariant
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for PlatformThemeVariant
impl PartialEq for PlatformThemeVariant
impl StructuralPartialEq for PlatformThemeVariant
Auto Trait Implementations§
impl Freeze for PlatformThemeVariant
impl RefUnwindSafe for PlatformThemeVariant
impl Send for PlatformThemeVariant
impl Sync for PlatformThemeVariant
impl Unpin for PlatformThemeVariant
impl UnsafeUnpin for PlatformThemeVariant
impl UnwindSafe for PlatformThemeVariant
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more