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>
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