pub enum FontOpticalSizing {
Auto,
None,
}Expand description
A font optical sizing property.
Controls automatic adjustment of the opsz axis in variable fonts
based on font size. Matches CSS font-optical-sizing.
Variants§
Auto
Automatically set opsz to match font size (browser default).
None
Do not automatically adjust opsz.
Trait Implementations§
Source§impl Clone for FontOpticalSizing
impl Clone for FontOpticalSizing
Source§fn clone(&self) -> FontOpticalSizing
fn clone(&self) -> FontOpticalSizing
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 FontOpticalSizing
impl Debug for FontOpticalSizing
Source§impl Default for FontOpticalSizing
impl Default for FontOpticalSizing
Source§impl PartialEq for FontOpticalSizing
impl PartialEq for FontOpticalSizing
impl Copy for FontOpticalSizing
impl StructuralPartialEq for FontOpticalSizing
Auto Trait Implementations§
impl Freeze for FontOpticalSizing
impl RefUnwindSafe for FontOpticalSizing
impl Send for FontOpticalSizing
impl Sync for FontOpticalSizing
impl Unpin for FontOpticalSizing
impl UnwindSafe for FontOpticalSizing
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