struct HintMask {
mask: [u8; 12],
is_valid: bool,
}
Expand description
Bitmask that specifies which hints are currently active.
“Each bit of the mask, starting with the most-significant bit of the first byte, represents the corresponding hint zone in the order in which the hints were declared at the beginning of the charstring.”
See https://adobe-type-tools.github.io/font-tech-notes/pdfs/5177.Type2.pdf#page=24 Also https://gitlab.freedesktop.org/freetype/freetype/-/blob/80a507a6b8e3d2906ad2c8ba69329bd2fb2a85ef/src/psaux/pshints.h#L70
Fields§
§mask: [u8; 12]
§is_valid: bool
Implementations§
Trait Implementations§
impl Copy for HintMask
impl StructuralPartialEq for HintMask
Auto Trait Implementations§
impl Freeze for HintMask
impl RefUnwindSafe for HintMask
impl Send for HintMask
impl Sync for HintMask
impl Unpin for HintMask
impl UnwindSafe for HintMask
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