pub struct OpenTypeFeatures {
pub ligatures: bool,
pub contextual: bool,
pub discretionary: bool,
pub small_caps: bool,
}Expand description
OpenType GSUB/GPOS feature tags configuration.
Fields§
§ligatures: boolStandard ligatures (liga, clig).
contextual: boolContextual alternates and programming code ligatures (calt).
discretionary: boolDiscretionary typographic ligatures (dlig, e.g. st, ct).
small_caps: boolSmall capitals (smcp).
Trait Implementations§
Source§impl Clone for OpenTypeFeatures
impl Clone for OpenTypeFeatures
impl Copy for OpenTypeFeatures
Source§impl Debug for OpenTypeFeatures
impl Debug for OpenTypeFeatures
Source§impl Default for OpenTypeFeatures
impl Default for OpenTypeFeatures
impl Eq for OpenTypeFeatures
Source§impl PartialEq for OpenTypeFeatures
impl PartialEq for OpenTypeFeatures
impl StructuralPartialEq for OpenTypeFeatures
Auto Trait Implementations§
impl Forget for OpenTypeFeatures
impl Freeze for OpenTypeFeatures
impl Move for OpenTypeFeatures
impl RefUnwindSafe for OpenTypeFeatures
impl Send for OpenTypeFeatures
impl Sync for OpenTypeFeatures
impl Unpin for OpenTypeFeatures
impl UnsafeUnpin for OpenTypeFeatures
impl UnwindSafe for OpenTypeFeatures
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