Struct allsorts_no_std::tables::OffsetTable [−][src]
OpenType Offset Table
https://docs.microsoft.com/en-us/typography/opentype/spec/otff#organization-of-an-opentype-font
Fields
sfnt_version: u32
search_range: u16
entry_selector: u16
range_shift: u16
table_records: ReadArray<'a, TableRecord>
Implementations
impl<'a> OffsetTable<'a>
[src]
pub fn find_table_record(&self, tag: u32) -> Option<TableRecord>
[src]
pub fn read_table(
&self,
scope: &ReadScope<'a>,
tag: u32
) -> Result<Option<ReadScope<'a>>, ParseError>
[src]
&self,
scope: &ReadScope<'a>,
tag: u32
) -> Result<Option<ReadScope<'a>>, ParseError>
Trait Implementations
impl<'a> Clone for OffsetTable<'a>
[src]
fn clone(&self) -> OffsetTable<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> ReadBinary<'a> for OffsetTable<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for OffsetTable<'a>
impl<'a> Send for OffsetTable<'a>
impl<'a> Sync for OffsetTable<'a>
impl<'a> Unpin for OffsetTable<'a>
impl<'a> UnwindSafe for OffsetTable<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> ReadBinaryDep<'a> for T where
T: ReadBinary<'a>,
[src]
T: ReadBinary<'a>,
type Args = ()
type HostType = <T as ReadBinary<'a>>::HostType
pub fn read_dep(
&mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
[src]
&mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,