#[repr(u32)]pub enum FontSimulations {
None = 0,
Bold = 1,
Oblique = 2,
}
Variants§
Implementations§
Trait Implementations§
Source§impl CheckedEnum for FontSimulations
impl CheckedEnum for FontSimulations
Source§impl Clone for FontSimulations
impl Clone for FontSimulations
Source§fn clone(&self) -> FontSimulations
fn clone(&self) -> FontSimulations
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 FontSimulations
impl Debug for FontSimulations
Source§impl Hash for FontSimulations
impl Hash for FontSimulations
Source§impl Ord for FontSimulations
impl Ord for FontSimulations
Source§fn cmp(&self, other: &FontSimulations) -> Ordering
fn cmp(&self, other: &FontSimulations) -> Ordering
1.21.0 · 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 FontSimulations
impl PartialEq for FontSimulations
Source§impl PartialOrd for FontSimulations
impl PartialOrd for FontSimulations
impl Copy for FontSimulations
impl Eq for FontSimulations
impl StructuralPartialEq for FontSimulations
Auto Trait Implementations§
impl Freeze for FontSimulations
impl RefUnwindSafe for FontSimulations
impl Send for FontSimulations
impl Sync for FontSimulations
impl Unpin for FontSimulations
impl UnwindSafe for FontSimulations
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