Struct ttf_parser::tables::glyf::GlyphPoint
source · pub(crate) struct GlyphPoint {
pub x: i16,
pub y: i16,
pub on_curve_point: bool,
pub last_point: bool,
}
Fields§
§x: i16
§y: i16
§on_curve_point: bool
Indicates that a point is a point on curve and not a control point.
last_point: bool
Trait Implementations§
source§impl Clone for GlyphPoint
impl Clone for GlyphPoint
source§fn clone(&self) -> GlyphPoint
fn clone(&self) -> GlyphPoint
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 Debug for GlyphPoint
impl Debug for GlyphPoint
impl Copy for GlyphPoint
Auto Trait Implementations§
impl Freeze for GlyphPoint
impl RefUnwindSafe for GlyphPoint
impl Send for GlyphPoint
impl Sync for GlyphPoint
impl Unpin for GlyphPoint
impl UnwindSafe for GlyphPoint
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