Struct rusttype::SharedGlyphData
source · pub struct SharedGlyphData {
pub id: u32,
pub extents: Option<Rect<i32>>,
pub scale_for_1_pixel: f32,
pub unit_h_metrics: HMetrics,
pub shape: Option<Vec<Vertex>>,
}
Fields§
§id: u32
§extents: Option<Rect<i32>>
§scale_for_1_pixel: f32
§unit_h_metrics: HMetrics
§shape: Option<Vec<Vertex>>
Trait Implementations§
Auto Trait Implementations§
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