Enum allsorts_no_std::gsub::Features [−][src]
Type indicating the features to use when shaping text.
Variants
Custom(Vec<FeatureInfo>)
A custom feature list.
Only the supplied features will be applied when applying glyph substitutions (gsub).
Mask(GsubFeatureMask)
A mask of features to enable.
Unless you have a specific need for low-level control of the OpenType features to enable this variant should be preferred.
Enabled bits will be used to enable OpenType features when applying glyph substitution
(gsub). When this variant of the Features
enum is used some common features are enabled
by default based on the script and language.
Auto Trait Implementations
impl RefUnwindSafe for Features
impl Send for Features
impl Sync for Features
impl Unpin for Features
impl UnwindSafe for Features
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,