Struct ttf_parser::tables::glyf::SimpleGlyphFlags
source · struct SimpleGlyphFlags(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl SimpleGlyphFlags
impl SimpleGlyphFlags
fn on_curve_point(self) -> bool
fn x_short(self) -> bool
fn y_short(self) -> bool
fn repeat_flag(self) -> bool
fn x_is_same_or_positive_short(self) -> bool
fn y_is_same_or_positive_short(self) -> bool
Trait Implementations§
source§impl Clone for SimpleGlyphFlags
impl Clone for SimpleGlyphFlags
source§fn clone(&self) -> SimpleGlyphFlags
fn clone(&self) -> SimpleGlyphFlags
Returns a copy 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 Default for SimpleGlyphFlags
impl Default for SimpleGlyphFlags
source§fn default() -> SimpleGlyphFlags
fn default() -> SimpleGlyphFlags
Returns the “default value” for a type. Read more
impl Copy for SimpleGlyphFlags
Auto Trait Implementations§
impl Freeze for SimpleGlyphFlags
impl RefUnwindSafe for SimpleGlyphFlags
impl Send for SimpleGlyphFlags
impl Sync for SimpleGlyphFlags
impl Unpin for SimpleGlyphFlags
impl UnwindSafe for SimpleGlyphFlags
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)