pub struct GlyphExtents {
pub left_mm: f32,
pub top_mm: f32,
pub right_mm: f32,
pub bottom_mm: f32,
}Expand description
The content bounds of a validated glyph placement collection, in millimetres.
Fields§
§left_mm: f32§top_mm: f32§right_mm: f32§bottom_mm: f32Implementations§
Trait Implementations§
Source§impl Clone for GlyphExtents
impl Clone for GlyphExtents
impl Copy for GlyphExtents
Source§impl Debug for GlyphExtents
impl Debug for GlyphExtents
Source§impl<'de> Deserialize<'de> for GlyphExtents
impl<'de> Deserialize<'de> for GlyphExtents
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 PartialEq for GlyphExtents
impl PartialEq for GlyphExtents
Source§impl Serialize for GlyphExtents
impl Serialize for GlyphExtents
impl StructuralPartialEq for GlyphExtents
Auto Trait Implementations§
impl Freeze for GlyphExtents
impl RefUnwindSafe for GlyphExtents
impl Send for GlyphExtents
impl Sync for GlyphExtents
impl Unpin for GlyphExtents
impl UnsafeUnpin for GlyphExtents
impl UnwindSafe for GlyphExtents
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