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<Arc<Vec<f32>>>, }
Fields
x: f32
y: f32
w: u32
h: u32
crop_x: f32
crop_y: f32
family: String
weight: ImtWeight
index: u16
bitmap: Option<Arc<Vec<f32>>>
Bitmap layout is Linear RGBA.
Auto Trait Implementations
impl RefUnwindSafe for ImtGlyph
impl Send for ImtGlyph
impl Sync for ImtGlyph
impl Unpin for ImtGlyph
impl UnwindSafe for ImtGlyph
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(size: usize) -> bool
[src]
pub fn is_size_suitable(size: usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,