pub enum FontDisplay {
auto,
block,
swap,
fallback,
optional,
}Variants§
Trait Implementations§
Source§impl Clone for FontDisplay
impl Clone for FontDisplay
Source§fn clone(&self) -> FontDisplay
fn clone(&self) -> FontDisplay
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 FontDisplay
impl Debug for FontDisplay
Source§impl Hash for FontDisplay
impl Hash for FontDisplay
Source§impl Ord for FontDisplay
impl Ord for FontDisplay
Source§fn cmp(&self, other: &FontDisplay) -> Ordering
fn cmp(&self, other: &FontDisplay) -> 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 FontDisplay
impl PartialEq for FontDisplay
Source§impl PartialOrd for FontDisplay
impl PartialOrd for FontDisplay
Source§impl ToCss for FontDisplay
impl ToCss for FontDisplay
impl Copy for FontDisplay
impl Eq for FontDisplay
impl StructuralPartialEq for FontDisplay
Auto Trait Implementations§
impl Freeze for FontDisplay
impl RefUnwindSafe for FontDisplay
impl Send for FontDisplay
impl Sync for FontDisplay
impl Unpin for FontDisplay
impl UnwindSafe for FontDisplay
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