Struct ttf_parser::tables::sbix::Strike
source · pub struct Strike<'a> {
pub pixels_per_em: u16,
pub ppi: u16,
offsets: LazyArray16<'a, Offset32>,
data: &'a [u8],
}
Expand description
A strike of glyphs.
Fields§
§pixels_per_em: u16
The pixels per EM size for which this strike was designed.
ppi: u16
The device pixel density (in PPI) for which this strike was designed.
offsets: LazyArray16<'a, Offset32>
§data: &'a [u8]
Data from the beginning of the Strikes
table.
Implementations§
Trait Implementations§
impl<'a> Copy for Strike<'a>
Auto Trait Implementations§
impl<'a> Freeze for Strike<'a>
impl<'a> RefUnwindSafe for Strike<'a>
impl<'a> Send for Strike<'a>
impl<'a> Sync for Strike<'a>
impl<'a> Unpin for Strike<'a>
impl<'a> UnwindSafe for Strike<'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