Enum egui::viewport::SystemTheme
source · pub enum SystemTheme {
SystemDefault,
Light,
Dark,
}
Variants§
Trait Implementations§
source§impl Clone for SystemTheme
impl Clone for SystemTheme
source§fn clone(&self) -> SystemTheme
fn clone(&self) -> SystemTheme
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 SystemTheme
impl Debug for SystemTheme
source§impl Default for SystemTheme
impl Default for SystemTheme
source§fn default() -> SystemTheme
fn default() -> SystemTheme
Returns the “default value” for a type. Read more
source§impl PartialEq for SystemTheme
impl PartialEq for SystemTheme
source§fn eq(&self, other: &SystemTheme) -> bool
fn eq(&self, other: &SystemTheme) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SystemTheme
impl Eq for SystemTheme
impl StructuralEq for SystemTheme
impl StructuralPartialEq for SystemTheme
Auto Trait Implementations§
impl RefUnwindSafe for SystemTheme
impl Send for SystemTheme
impl Sync for SystemTheme
impl Unpin for SystemTheme
impl UnwindSafe for SystemTheme
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