pub enum FontCategory {
Regular,
Bold,
Italic,
BoldAndItalic,
}Expand description
Basic font face category.
Variants§
Regular
Regular (aka normal) font face.
Bold
Bold font face.
Italic
Italic font face.
BoldAndItalic
Bold + italic font face.
Implementations§
Trait Implementations§
Source§impl Clone for FontCategory
impl Clone for FontCategory
Source§fn clone(&self) -> FontCategory
fn clone(&self) -> FontCategory
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 FontCategory
impl Debug for FontCategory
Source§impl Display for FontCategory
impl Display for FontCategory
Source§impl Hash for FontCategory
impl Hash for FontCategory
Source§impl PartialEq for FontCategory
impl PartialEq for FontCategory
impl Copy for FontCategory
impl Eq for FontCategory
impl StructuralPartialEq for FontCategory
Auto Trait Implementations§
impl Freeze for FontCategory
impl RefUnwindSafe for FontCategory
impl Send for FontCategory
impl Sync for FontCategory
impl Unpin for FontCategory
impl UnwindSafe for FontCategory
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