pub struct VertialHeaderTable(/* private fields */);Implementations§
Source§impl VertialHeaderTable
impl VertialHeaderTable
pub fn version(&self) -> Version16Dot16
pub fn ascender(&self) -> i16
pub fn descender(&self) -> i16
pub fn line_gap(&self) -> i16
pub fn advance_height_max(&self) -> u16
pub fn min_top_side_bearing(&self) -> i16
pub fn min_bottom_side_bearing(&self) -> i16
pub fn max_y_extent(&self) -> i16
pub fn caret_slope_rise(&self) -> i16
pub fn caret_slope_run(&self) -> i16
pub fn caret_offset(&self) -> i16
pub fn metrics_data_format(&self) -> i16
pub fn number_of_vmetrics(&self) -> u16
Trait Implementations§
Source§impl Clone for VertialHeaderTable
impl Clone for VertialHeaderTable
Source§fn clone(&self) -> VertialHeaderTable
fn clone(&self) -> VertialHeaderTable
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 VertialHeaderTable
Source§impl Debug for VertialHeaderTable
impl Debug for VertialHeaderTable
impl Pod for VertialHeaderTable
Source§impl<'a> RandomAccess<'a> for &'a VertialHeaderTable
impl<'a> RandomAccess<'a> for &'a VertialHeaderTable
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>
Source§impl<'a> TryFrom<&'a [u8]> for &'a VertialHeaderTable
impl<'a> TryFrom<&'a [u8]> for &'a VertialHeaderTable
Auto Trait Implementations§
impl Freeze for VertialHeaderTable
impl RefUnwindSafe for VertialHeaderTable
impl Send for VertialHeaderTable
impl Sync for VertialHeaderTable
impl Unpin for VertialHeaderTable
impl UnsafeUnpin for VertialHeaderTable
impl UnwindSafe for VertialHeaderTable
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.