pub struct GlyphOutline {
pub contours: Vec<GlyphContour>,
pub x_min: i16,
pub y_min: i16,
pub x_max: i16,
pub y_max: i16,
pub advance_width: u16,
pub lsb: i16,
}Expand description
A parsed glyph outline.
Fields§
§contours: Vec<GlyphContour>Contours forming this glyph.
x_min: i16Bounding box: min x.
y_min: i16Bounding box: min y.
x_max: i16Bounding box: max x.
y_max: i16Bounding box: max y.
advance_width: u16Advance width in font units.
lsb: i16Left side bearing.
Trait Implementations§
Source§impl Clone for GlyphOutline
impl Clone for GlyphOutline
Source§fn clone(&self) -> GlyphOutline
fn clone(&self) -> GlyphOutline
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlyphOutline
impl Debug for GlyphOutline
Source§impl PartialEq for GlyphOutline
impl PartialEq for GlyphOutline
impl Eq for GlyphOutline
impl StructuralPartialEq for GlyphOutline
Auto Trait Implementations§
impl Freeze for GlyphOutline
impl RefUnwindSafe for GlyphOutline
impl Send for GlyphOutline
impl Sync for GlyphOutline
impl Unpin for GlyphOutline
impl UnwindSafe for GlyphOutline
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)