Struct webrender_api::font::GlyphDimensions
source · #[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