Struct ttf_parser::morx::Coverage
source · pub struct Coverage(/* private fields */);
Expand description
A subtable coverage.
Implementations§
source§impl Coverage
impl Coverage
sourcepub fn is_logical(self) -> bool
pub fn is_logical(self) -> bool
If true, this subtable will process glyphs in logical order
(or reverse logical order if is_vertical
is also true).
sourcepub fn is_all_directions(self) -> bool
pub fn is_all_directions(self) -> bool
If true, this subtable will be applied to both horizontal and vertical text
(is_vertical
should be ignored).
sourcepub fn is_backwards(self) -> bool
pub fn is_backwards(self) -> bool
If true, this subtable will process glyphs in descending order.
sourcepub fn is_vertical(self) -> bool
pub fn is_vertical(self) -> bool
If true, this subtable will only be applied to vertical text.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Coverage
impl Send for Coverage
impl Sync for Coverage
impl Unpin for Coverage
impl UnwindSafe for Coverage
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