pub struct LookupFlag(/* private fields */);
Expand description
The LookupFlag bit enumeration.
Implementations§
Source§impl LookupFlag
impl LookupFlag
Sourcepub const RIGHT_TO_LEFT: Self = _
pub const RIGHT_TO_LEFT: Self = _
This bit relates only to the correct processing of GPOS type 3 (cursive attachment) lookups
When this bit is set, the last glyph in a given sequence to which the cursive attachment lookup is applied, will be positioned on the baseline.
Sourcepub const IGNORE_BASE_GLYPHS: Self = _
pub const IGNORE_BASE_GLYPHS: Self = _
If set, skips over base glyphs
Sourcepub const IGNORE_LIGATURES: Self = _
pub const IGNORE_LIGATURES: Self = _
If set, skips over ligatures
Sourcepub const IGNORE_MARKS: Self = _
pub const IGNORE_MARKS: Self = _
If set, skips over all combining marks
Sourcepub const USE_MARK_FILTERING_SET: Self = _
pub const USE_MARK_FILTERING_SET: Self = _
If set, indicates that the lookup table structure is followed by a MarkFilteringSet field.
The layout engine skips over all mark glyphs not in the mark filtering set indicated.
Sourcepub fn from_bits_truncate(bits: u16) -> Self
pub fn from_bits_truncate(bits: u16) -> Self
Construct a LookupFlag from a raw value, discarding invalid bits
Sourcepub const fn contains(&self, other: Self) -> bool
pub const fn contains(&self, other: Self) -> bool
Returns true
if all of the flags in other
are contained within self
.
Sourcepub fn mark_attachment_class(self) -> Option<u16>
pub fn mark_attachment_class(self) -> Option<u16>
If not zero, skips over all marks of attachment type different from specified.
Sourcepub fn set_mark_attachment_class(&mut self, val: u16)
pub fn set_mark_attachment_class(&mut self, val: u16)
If not zero, skips over all marks of attachment type different from specified.
Trait Implementations§
Source§impl BitOr for LookupFlag
impl BitOr for LookupFlag
Source§impl BitOrAssign for LookupFlag
impl BitOrAssign for LookupFlag
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|=
operation. Read moreSource§impl Clone for LookupFlag
impl Clone for LookupFlag
Source§fn clone(&self) -> LookupFlag
fn clone(&self) -> LookupFlag
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more