Struct ilmenite::ImtGlyph [−][src]
pub struct ImtGlyph { pub x: f32, pub y: f32, pub w: u32, pub h: u32, pub crop_x: f32, pub crop_y: f32, pub family: String, pub weight: ImtWeight, pub index: u16, pub bitmap: Option<ImtBitmapData>, }
Fields
x: f32
y: f32
w: u32
h: u32
crop_x: f32
crop_y: f32
family: String
weight: ImtWeight
index: u16
bitmap: Option<ImtBitmapData>
Auto Trait Implementations
impl !RefUnwindSafe for ImtGlyph
impl !UnwindSafe for ImtGlyph
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.