pub struct Os2MetricsTable2(/* private fields */);Implementations§
Source§impl Os2MetricsTable2
impl Os2MetricsTable2
pub fn x_height(&self) -> i16
pub fn cap_height(&self) -> i16
pub fn default_char(&self) -> u16
pub fn break_char(&self) -> u16
pub fn max_context(&self) -> u16
Methods from Deref<Target = Os2MetricsTable1>§
pub fn code_page_range_1(&self) -> u32
pub fn code_page_range_2(&self) -> u32
Methods from Deref<Target = Os2MetricsTable0>§
pub fn version(&self) -> u16
pub fn avg_char_width(&self) -> i16
pub fn weight_class(&self) -> u16
pub fn width_class(&self) -> u16
pub fn type_flags(&self) -> u16
pub fn subscript_size(&self) -> (i16, i16)
pub fn subscript_offset(&self) -> (i16, i16)
pub fn superscript_size(&self) -> (i16, i16)
pub fn superscript_offset(&self) -> (i16, i16)
pub fn strikeout_size(&self) -> i16
pub fn strikeout_position(&self) -> i16
pub fn family_class(&self) -> i16
pub fn panose(&self) -> &[u8; 10]
pub fn unicode_range_1(&self) -> u32
pub fn unicode_range_2(&self) -> u32
pub fn unicode_range_3(&self) -> u32
pub fn unicode_range_4(&self) -> u32
pub fn vendor_id(&self) -> &Tag
pub fn selection_flags(&self) -> u16
pub fn first_char_index(&self) -> u16
pub fn last_char_index(&self) -> u16
pub fn typo_ascender(&self) -> i16
pub fn typo_descender(&self) -> i16
pub fn typo_line_gap(&self) -> i16
pub fn win_ascent(&self) -> u16
pub fn win_descent(&self) -> u16
Trait Implementations§
Source§impl AsRef<Os2MetricsTable0> for Os2MetricsTable2
impl AsRef<Os2MetricsTable0> for Os2MetricsTable2
Source§fn as_ref(&self) -> &Os2MetricsTable0
fn as_ref(&self) -> &Os2MetricsTable0
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<Os2MetricsTable1> for Os2MetricsTable2
impl AsRef<Os2MetricsTable1> for Os2MetricsTable2
Source§fn as_ref(&self) -> &Os2MetricsTable1
fn as_ref(&self) -> &Os2MetricsTable1
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<Os2MetricsTable2> for Os2MetricsTable5
impl AsRef<Os2MetricsTable2> for Os2MetricsTable5
Source§fn as_ref(&self) -> &Os2MetricsTable2
fn as_ref(&self) -> &Os2MetricsTable2
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for Os2MetricsTable2
impl Clone for Os2MetricsTable2
Source§fn clone(&self) -> Os2MetricsTable2
fn clone(&self) -> Os2MetricsTable2
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 Copy for Os2MetricsTable2
Source§impl Debug for Os2MetricsTable2
impl Debug for Os2MetricsTable2
Source§impl Deref for Os2MetricsTable2
impl Deref for Os2MetricsTable2
impl Pod for Os2MetricsTable2
Source§impl<'a> RandomAccess<'a> for &'a Os2MetricsTable2
impl<'a> RandomAccess<'a> for &'a Os2MetricsTable2
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 Freeze for Os2MetricsTable2
impl RefUnwindSafe for Os2MetricsTable2
impl Send for Os2MetricsTable2
impl Sync for Os2MetricsTable2
impl Unpin for Os2MetricsTable2
impl UnsafeUnpin for Os2MetricsTable2
impl UnwindSafe for Os2MetricsTable2
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.