pub struct GlyphInfo {
pub width: u8,
}Expand description
Per-glyph metadata captured in a render profile.
Fields§
§width: u8The policy display width for this glyph or grapheme cluster.
Typical values are 1 or 2.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GlyphInfo
impl<'de> Deserialize<'de> for GlyphInfo
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
impl Eq for GlyphInfo
impl StructuralPartialEq for GlyphInfo
Auto Trait Implementations§
impl Freeze for GlyphInfo
impl RefUnwindSafe for GlyphInfo
impl Send for GlyphInfo
impl Sync for GlyphInfo
impl Unpin for GlyphInfo
impl UnsafeUnpin for GlyphInfo
impl UnwindSafe for GlyphInfo
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