pub enum ThemeMetricKey {
Radius,
FontSize,
FontLineHeight,
MonoFontSize,
MonoFontLineHeight,
}Variants§
Implementations§
Source§impl ThemeMetricKey
impl ThemeMetricKey
pub const ALL: &'static [ThemeMetricKey]
pub const fn canonical_name(self) -> &'static str
pub fn from_canonical_name(name: &str) -> Option<Self>
Trait Implementations§
Source§impl Clone for ThemeMetricKey
impl Clone for ThemeMetricKey
Source§fn clone(&self) -> ThemeMetricKey
fn clone(&self) -> ThemeMetricKey
Returns a duplicate 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 ThemeMetricKey
impl Debug for ThemeMetricKey
Source§impl Hash for ThemeMetricKey
impl Hash for ThemeMetricKey
Source§impl PartialEq for ThemeMetricKey
impl PartialEq for ThemeMetricKey
impl Copy for ThemeMetricKey
impl Eq for ThemeMetricKey
impl StructuralPartialEq for ThemeMetricKey
Auto Trait Implementations§
impl Freeze for ThemeMetricKey
impl RefUnwindSafe for ThemeMetricKey
impl Send for ThemeMetricKey
impl Sync for ThemeMetricKey
impl Unpin for ThemeMetricKey
impl UnsafeUnpin for ThemeMetricKey
impl UnwindSafe for ThemeMetricKey
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