#[non_exhaustive]pub enum FontSizeAdjust {
FromFont,
None,
Number(f64),
Raw(Raw),
}Expand description
A value of font-size-adjust.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FromFont
from-font.
None
none.
Number(f64)
A number.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for FontSizeAdjust
impl Clone for FontSizeAdjust
Source§fn clone(&self) -> FontSizeAdjust
fn clone(&self) -> FontSizeAdjust
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 moreSource§impl Debug for FontSizeAdjust
impl Debug for FontSizeAdjust
Source§impl Display for FontSizeAdjust
impl Display for FontSizeAdjust
Source§impl From<Raw> for FontSizeAdjust
impl From<Raw> for FontSizeAdjust
Source§impl From<f64> for FontSizeAdjust
impl From<f64> for FontSizeAdjust
Source§impl From<i32> for FontSizeAdjust
impl From<i32> for FontSizeAdjust
Source§impl PartialEq for FontSizeAdjust
impl PartialEq for FontSizeAdjust
impl StructuralPartialEq for FontSizeAdjust
Auto Trait Implementations§
impl Freeze for FontSizeAdjust
impl RefUnwindSafe for FontSizeAdjust
impl Send for FontSizeAdjust
impl Sync for FontSizeAdjust
impl Unpin for FontSizeAdjust
impl UnsafeUnpin for FontSizeAdjust
impl UnwindSafe for FontSizeAdjust
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