Struct allsorts_no_std::layout::Lookup[][src]

pub struct Lookup<'a, T: LayoutTableType> {
    pub lookup_flag: u16,
    // some fields omitted
}

Fields

lookup_flag: u16

Implementations

impl<'a, T: LayoutTableType> Lookup<'a, T>[src]

pub fn smart_subtable_iter<'b>(
    &'b self
) -> Result<SmartLookupSubtableIter<'a, 'b, T>, ParseError>
[src]

pub fn get_lookup_type(&self) -> Result<T::BaseLookupType, ParseError>[src]

pub fn find_subtable<S>(
    &self,
    f: impl Fn(ReadScope<'a>) -> Result<Option<S>, ParseError>
) -> Result<Option<S>, ParseError>
[src]

pub fn read_subtables<S: ReadBinaryDep<'a, Args = LayoutCache<T>>>(
    &self,
    cache: &LayoutCache<T>
) -> Result<Vec<S::HostType>, ParseError>
[src]

Trait Implementations

impl<'a, T: LayoutTableType> ReadBinary<'a> for Lookup<'a, T>[src]

type HostType = Self

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for Lookup<'a, T> where
    T: RefUnwindSafe,
    <T as LayoutTableType>::BaseLookupType: RefUnwindSafe

impl<'a, T> Send for Lookup<'a, T> where
    T: Send,
    <T as LayoutTableType>::BaseLookupType: Send

impl<'a, T> Sync for Lookup<'a, T> where
    T: Sync,
    <T as LayoutTableType>::BaseLookupType: Sync

impl<'a, T> Unpin for Lookup<'a, T> where
    T: Unpin,
    <T as LayoutTableType>::BaseLookupType: Unpin

impl<'a, T> UnwindSafe for Lookup<'a, T> where
    T: UnwindSafe,
    <T as LayoutTableType>::BaseLookupType: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> ReadBinaryDep<'a> for T where
    T: ReadBinary<'a>, 
[src]

type Args = ()

type HostType = <T as ReadBinary<'a>>::HostType

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.