Struct truetype::glyph_data::PointFlags
source · pub struct PointFlags(pub u8);
Expand description
Point flags.
Tuple Fields
0: u8
Implementations
sourceimpl PointFlags
impl PointFlags
pub fn is_on_curve(&self) -> bool
pub fn is_x_short(&self) -> bool
pub fn is_y_short(&self) -> bool
pub fn is_repeated(&self) -> bool
pub fn is_x_positive(&self) -> bool
pub fn is_x_same(&self) -> bool
pub fn is_y_positive(&self) -> bool
pub fn is_y_same(&self) -> bool
pub fn is_overlap_simple(&self) -> bool
pub fn is_invalid(&self) -> bool
Trait Implementations
sourceimpl Clone for PointFlags
impl Clone for PointFlags
sourcefn clone(&self) -> PointFlags
fn clone(&self) -> PointFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PointFlags
impl Debug for PointFlags
sourceimpl Default for PointFlags
impl Default for PointFlags
sourcefn default() -> PointFlags
fn default() -> PointFlags
Returns the “default value” for a type. Read more
sourceimpl Display for PointFlags
impl Display for PointFlags
sourceimpl From<PointFlags> for u8
impl From<PointFlags> for u8
sourcefn from(flags: PointFlags) -> u8
fn from(flags: PointFlags) -> u8
Converts to this type from the input type.
sourceimpl PartialEq<PointFlags> for PointFlags
impl PartialEq<PointFlags> for PointFlags
sourcefn eq(&self, other: &PointFlags) -> bool
fn eq(&self, other: &PointFlags) -> bool
impl Copy for PointFlags
impl Eq for PointFlags
impl StructuralEq for PointFlags
impl StructuralPartialEq for PointFlags
Auto Trait Implementations
impl RefUnwindSafe for PointFlags
impl Send for PointFlags
impl Sync for PointFlags
impl Unpin for PointFlags
impl UnwindSafe for PointFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more