pub struct CurvePoint {
pub x: i16,
pub y: i16,
pub on_curve: bool,
}
Expand description
Point with an associated on-curve flag in a simple glyph.
This type is a simpler representation of the data in the blob.
Fields§
§x: i16
X coordinate.
y: i16
Y coordinate.
on_curve: bool
True if this is an on-curve point.
Implementations§
Trait Implementations§
Source§impl Clone for CurvePoint
impl Clone for CurvePoint
Source§fn clone(&self) -> CurvePoint
fn clone(&self) -> CurvePoint
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 CurvePoint
impl Debug for CurvePoint
Source§impl PartialEq for CurvePoint
impl PartialEq for CurvePoint
impl Copy for CurvePoint
impl Eq for CurvePoint
impl StructuralPartialEq for CurvePoint
Auto Trait Implementations§
impl Freeze for CurvePoint
impl RefUnwindSafe for CurvePoint
impl Send for CurvePoint
impl Sync for CurvePoint
impl Unpin for CurvePoint
impl UnwindSafe for CurvePoint
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