pub struct SimpleGlyf {
pub contours: Vec<Contour>,
pub num_contours: i16,
pub x: (i16, i16),
pub y: (i16, i16),
}Expand description
The outline features of a simple-type glyph
Fields§
§contours: Vec<Contour>The contours of the glyph
num_contours: i16The number of contours in the glyph This field is used to prime the parser
x: (i16, i16)Horizontal bounds of the glyph
y: (i16, i16)Vertical bounds of the glyph
Trait Implementations§
Source§impl Clone for SimpleGlyf
impl Clone for SimpleGlyf
Source§fn clone(&self) -> SimpleGlyf
fn clone(&self) -> SimpleGlyf
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SimpleGlyf
impl RefUnwindSafe for SimpleGlyf
impl Send for SimpleGlyf
impl Sync for SimpleGlyf
impl Unpin for SimpleGlyf
impl UnwindSafe for SimpleGlyf
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