pub enum TextWeight {
Normal,
Medium,
Bold,
}Expand description
Font weight options.
Variants§
Trait Implementations§
Source§impl Clone for TextWeight
impl Clone for TextWeight
Source§fn clone(&self) -> TextWeight
fn clone(&self) -> TextWeight
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 moreimpl Copy for TextWeight
Source§impl Debug for TextWeight
impl Debug for TextWeight
Source§impl PartialEq for TextWeight
impl PartialEq for TextWeight
Source§fn eq(&self, other: &TextWeight) -> bool
fn eq(&self, other: &TextWeight) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextWeight
Auto Trait Implementations§
impl Freeze for TextWeight
impl RefUnwindSafe for TextWeight
impl Send for TextWeight
impl Sync for TextWeight
impl Unpin for TextWeight
impl UnsafeUnpin for TextWeight
impl UnwindSafe for TextWeight
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