Struct ttf_parser::gpos::ValueRecordsArray
source · pub struct ValueRecordsArray<'a> {
table_data: &'a [u8],
data: &'a [u8],
len: u16,
value_len: usize,
flags: ValueFormatFlags,
}
Expand description
An array of Value Records.
Fields§
§table_data: &'a [u8]
§data: &'a [u8]
§len: u16
§value_len: usize
§flags: ValueFormatFlags
Implementations§
source§impl<'a> ValueRecordsArray<'a>
impl<'a> ValueRecordsArray<'a>
fn parse( table_data: &'a [u8], count: u16, flags: ValueFormatFlags, s: &mut Stream<'a>, ) -> Option<Self>
sourcepub fn get(&self, index: u16) -> Option<ValueRecord<'a>>
pub fn get(&self, index: u16) -> Option<ValueRecord<'a>>
Returns a ValueRecord
at index.
Trait Implementations§
source§impl<'a> Clone for ValueRecordsArray<'a>
impl<'a> Clone for ValueRecordsArray<'a>
source§fn clone(&self) -> ValueRecordsArray<'a>
fn clone(&self) -> ValueRecordsArray<'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 Debug for ValueRecordsArray<'_>
impl Debug for ValueRecordsArray<'_>
impl<'a> Copy for ValueRecordsArray<'a>
Auto Trait Implementations§
impl<'a> Freeze for ValueRecordsArray<'a>
impl<'a> RefUnwindSafe for ValueRecordsArray<'a>
impl<'a> Send for ValueRecordsArray<'a>
impl<'a> Sync for ValueRecordsArray<'a>
impl<'a> Unpin for ValueRecordsArray<'a>
impl<'a> UnwindSafe for ValueRecordsArray<'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