pub struct GlyphMetadata {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
pub hori_bearing_x: i32,
pub hori_bearing_y: i32,
pub advance_x: i32,
pub advance_y: i32,
}Fields§
§x: u32§y: u32§width: u32§height: u32§hori_bearing_x: i32§hori_bearing_y: i32§advance_x: i32§advance_y: i32Trait Implementations§
Source§impl Clone for GlyphMetadata
impl Clone for GlyphMetadata
Source§fn clone(&self) -> GlyphMetadata
fn clone(&self) -> GlyphMetadata
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 moreSource§impl Debug for GlyphMetadata
impl Debug for GlyphMetadata
Source§impl<'de> Deserialize<'de> for GlyphMetadata
impl<'de> Deserialize<'de> for GlyphMetadata
Source§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
Auto Trait Implementations§
impl Freeze for GlyphMetadata
impl RefUnwindSafe for GlyphMetadata
impl Send for GlyphMetadata
impl Sync for GlyphMetadata
impl Unpin for GlyphMetadata
impl UnwindSafe for GlyphMetadata
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