Struct truetype::tables::font_header::Flags
source · pub struct Flags(pub u16);
Expand description
Font-header flags.
Tuple Fields§
§0: u16
Implementations§
source§impl Flags
impl Flags
pub fn is_baseline_at_0(&self) -> bool
pub fn is_left_side_bearing_at_0(&self) -> bool
pub fn is_invalid(&self) -> bool
Trait Implementations§
source§impl PartialEq for Flags
impl PartialEq for Flags
impl Copy for Flags
impl Eq for Flags
impl StructuralPartialEq for Flags
Auto Trait Implementations§
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
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