pub struct PortableNativeGlyph {
pub glyph_id: u16,
pub x: i32,
pub y: i32,
pub advance: i32,
pub cluster_start: u32,
pub cluster_end: u32,
pub src_start: u32,
pub src_end: u32,
}Fields§
§glyph_id: u16§x: i32§y: i32§advance: i32§cluster_start: u32§cluster_end: u32§src_start: u32Input byte span of the characters that shaped this glyph, 0..0 when unmapped.
src_end: u32Trait Implementations§
Source§impl Clone for PortableNativeGlyph
impl Clone for PortableNativeGlyph
impl Copy for PortableNativeGlyph
Source§impl Debug for PortableNativeGlyph
impl Debug for PortableNativeGlyph
Source§impl Default for PortableNativeGlyph
impl Default for PortableNativeGlyph
impl Eq for PortableNativeGlyph
Source§impl PartialEq for PortableNativeGlyph
impl PartialEq for PortableNativeGlyph
impl StructuralPartialEq for PortableNativeGlyph
Auto Trait Implementations§
impl Freeze for PortableNativeGlyph
impl RefUnwindSafe for PortableNativeGlyph
impl Send for PortableNativeGlyph
impl Sync for PortableNativeGlyph
impl Unpin for PortableNativeGlyph
impl UnsafeUnpin for PortableNativeGlyph
impl UnwindSafe for PortableNativeGlyph
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