Struct read_fonts::tables::hdmx::DeviceRecord
source · pub struct DeviceRecord<'a> {
pub pixel_size: u8,
pub max_width: u8,
pub widths: &'a [u8],
}
Fields§
§pixel_size: u8
Pixel size for following widths (as ppem).
max_width: u8
Maximum width.
widths: &'a [u8]
Array of glyphs (numgGlyphs is from the ‘maxp’ table).
Implementations§
source§impl<'a> DeviceRecord<'a>
impl<'a> DeviceRecord<'a>
Trait Implementations§
source§impl<'a> Clone for DeviceRecord<'a>
impl<'a> Clone for DeviceRecord<'a>
source§fn clone(&self) -> DeviceRecord<'a>
fn clone(&self) -> DeviceRecord<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl ComputeSize for DeviceRecord<'_>
impl ComputeSize for DeviceRecord<'_>
source§impl<'a> Debug for DeviceRecord<'a>
impl<'a> Debug for DeviceRecord<'a>
source§impl<'a> FontReadWithArgs<'a> for DeviceRecord<'a>
impl<'a> FontReadWithArgs<'a> for DeviceRecord<'a>
source§impl<'a> Hash for DeviceRecord<'a>
impl<'a> Hash for DeviceRecord<'a>
source§impl<'a> Ord for DeviceRecord<'a>
impl<'a> Ord for DeviceRecord<'a>
source§fn cmp(&self, other: &DeviceRecord<'a>) -> Ordering
fn cmp(&self, other: &DeviceRecord<'a>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialEq for DeviceRecord<'a>
impl<'a> PartialEq for DeviceRecord<'a>
source§impl<'a> PartialOrd for DeviceRecord<'a>
impl<'a> PartialOrd for DeviceRecord<'a>
source§impl<'a> SomeRecord<'a> for DeviceRecord<'a>
impl<'a> SomeRecord<'a> for DeviceRecord<'a>
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl<'a> Eq for DeviceRecord<'a>
impl<'a> StructuralPartialEq for DeviceRecord<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeviceRecord<'a>
impl<'a> RefUnwindSafe for DeviceRecord<'a>
impl<'a> Send for DeviceRecord<'a>
impl<'a> Sync for DeviceRecord<'a>
impl<'a> Unpin for DeviceRecord<'a>
impl<'a> UnwindSafe for DeviceRecord<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)