pub struct ComponentGlyph<'a>(/* private fields */);Implementations§
Source§impl<'a> ComponentGlyph<'a>
impl<'a> ComponentGlyph<'a>
pub fn use_my_metrics(&self) -> bool
pub fn glyph_index(&self) -> u16
pub fn offset_mode(&self) -> ComponentOffsetMode
pub fn position(&self) -> ComponentGlyphPosition
pub fn transform(&self) -> ComponentGlyphTransform
Trait Implementations§
Source§impl<'a> Clone for ComponentGlyph<'a>
impl<'a> Clone for ComponentGlyph<'a>
Source§fn clone(&self) -> ComponentGlyph<'a>
fn clone(&self) -> ComponentGlyph<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for ComponentGlyph<'a>
Source§impl Debug for ComponentGlyph<'_>
impl Debug for ComponentGlyph<'_>
Source§impl<'a> RandomAccess<'a> for ComponentGlyph<'a>
impl<'a> RandomAccess<'a> for ComponentGlyph<'a>
fn bytes(&self) -> &'a [u8] ⓘ
fn uint8(&self, offset: usize) -> u8
fn uint16(&self, offset: usize) -> u16
fn uint32(&self, offset: usize) -> u32
fn uint24(&self, offset: usize) -> u32
fn int8(&self, offset: usize) -> i8
fn int16(&self, offset: usize) -> i16
fn int32(&self, offset: usize) -> i32
fn fixed(&self, offset: usize) -> Fixed
fn f2dot14(&self, offset: usize) -> F2Dot14
fn longdatetime(&self, offset: usize) -> LongDateTime
fn tag(&self, offset: usize) -> &'a Tag
fn version16dot16(&self, offset: usize) -> Version16Dot16
fn item<T: Pod>(&self, offset: usize) -> &'a T
fn array<T: Pod>(&self, offset: usize, count: usize) -> &'a [T]
fn uint16_array(&self, offset: usize, count: usize) -> U16Array<'a>
fn int16_array(&self, offset: usize, count: usize) -> I16Array<'a>
fn uint32_array(&self, offset: usize, count: usize) -> U32Array<'a>
Auto Trait Implementations§
impl<'a> Freeze for ComponentGlyph<'a>
impl<'a> RefUnwindSafe for ComponentGlyph<'a>
impl<'a> Send for ComponentGlyph<'a>
impl<'a> Sync for ComponentGlyph<'a>
impl<'a> Unpin for ComponentGlyph<'a>
impl<'a> UnsafeUnpin for ComponentGlyph<'a>
impl<'a> UnwindSafe for ComponentGlyph<'a>
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