pub enum AxisKind {
Weight,
Width,
Other(Box<str>),
}Expand description
What a design axis controls. Type 1 names these with PostScript literals; only the two the Foxit faces use have dedicated variants.
Variants§
Weight
/Weight — stroke thickness. PDFium’s axis 0.
Width
/Width — horizontal proportion. PDFium’s axis 1.
Other(Box<str>)
/OpticalSize, /Style, or anything else a font names.
Trait Implementations§
impl Eq for AxisKind
impl StructuralPartialEq for AxisKind
Auto Trait Implementations§
impl Freeze for AxisKind
impl RefUnwindSafe for AxisKind
impl Send for AxisKind
impl Sync for AxisKind
impl Unpin for AxisKind
impl UnsafeUnpin for AxisKind
impl UnwindSafe for AxisKind
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