pub enum LigatureMode {
Auto,
Enabled,
Disabled,
}Expand description
Explicit ligature-mode policy for shaping fallback.
Variants§
Auto
Preserve the configured feature set.
If runtime capability reports ligatures unsupported, standard ligatures are force-disabled to avoid backend-default variability.
Enabled
Force standard ligatures on (liga, clig), if supported.
Disabled
Force standard ligatures off with canonical grapheme boundaries.
Trait Implementations§
Source§impl Clone for LigatureMode
impl Clone for LigatureMode
Source§fn clone(&self) -> LigatureMode
fn clone(&self) -> LigatureMode
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 LigatureMode
impl Debug for LigatureMode
Source§impl Default for LigatureMode
impl Default for LigatureMode
Source§fn default() -> LigatureMode
fn default() -> LigatureMode
Returns the “default value” for a type. Read more
Source§impl Hash for LigatureMode
impl Hash for LigatureMode
Source§impl PartialEq for LigatureMode
impl PartialEq for LigatureMode
impl Copy for LigatureMode
impl Eq for LigatureMode
impl StructuralPartialEq for LigatureMode
Auto Trait Implementations§
impl Freeze for LigatureMode
impl RefUnwindSafe for LigatureMode
impl Send for LigatureMode
impl Sync for LigatureMode
impl Unpin for LigatureMode
impl UnsafeUnpin for LigatureMode
impl UnwindSafe for LigatureMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.