Struct flo_canvas::GlyphPosition [−][src]
Expand description
Describes how a glyph is positioned on the canvas
Fields
id: GlyphIdThe ID of the glyph to render
location: (f32, f32)Position of the glyph’s baseline
em_size: f32The number of canvas units that map to one em in font units
Trait Implementations
Encodes this item by appending it to the specified string Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for GlyphPosition
impl Send for GlyphPosition
impl Sync for GlyphPosition
impl Unpin for GlyphPosition
impl UnwindSafe for GlyphPosition
Blanket Implementations
Mutably borrows from an owned value. Read more