#[repr(C)]pub struct Glyph {
pub start: i32,
pub end: i32,
pub count: u8,
pub repeat: u8,
pub flags: u16,
pub x_off: f32,
pub y_off: f32,
pub advance: f32,
pub font_rid: Rid,
pub font_size: i32,
pub index: i32,
}
Expand description
Fields§
§start: i32
§end: i32
§count: u8
§repeat: u8
§flags: u16
§x_off: f32
§y_off: f32
§advance: f32
§font_rid: Rid
§font_size: i32
§index: i32
Trait Implementations§
impl StructuralPartialEq for Glyph
Auto Trait Implementations§
impl Freeze for Glyph
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin for Glyph
impl UnwindSafe for Glyph
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)