#[repr(C)]pub struct GlyphDimensions {
pub left: i32,
pub top: i32,
pub width: i32,
pub height: i32,
pub advance: f32,
}
Fields§
§left: i32
§top: i32
§width: i32
§height: i32
§advance: f32
Trait Implementations§
Source§impl Clone for GlyphDimensions
impl Clone for GlyphDimensions
Source§fn clone(&self) -> GlyphDimensions
fn clone(&self) -> GlyphDimensions
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 GlyphDimensions
impl Debug for GlyphDimensions
Source§impl<'de> Deserialize<'de> for GlyphDimensions
impl<'de> Deserialize<'de> for GlyphDimensions
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
Source§impl Serialize for GlyphDimensions
impl Serialize for GlyphDimensions
impl Copy for GlyphDimensions
Auto Trait Implementations§
impl Freeze for GlyphDimensions
impl RefUnwindSafe for GlyphDimensions
impl Send for GlyphDimensions
impl Sync for GlyphDimensions
impl Unpin for GlyphDimensions
impl UnwindSafe for GlyphDimensions
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