pub struct Lookup<'a, T: LayoutTableType> {
pub lookup_flag: u16,
/* private fields */
}
Fields
lookup_flag: u16
Implementations
sourceimpl<'a, T: LayoutTableType> Lookup<'a, T>
impl<'a, T: LayoutTableType> Lookup<'a, T>
pub fn smart_subtable_iter<'b>(
&'b self
) -> Result<SmartLookupSubtableIter<'a, 'b, T>, ParseError>
pub fn get_lookup_type(&self) -> Result<T::BaseLookupType, ParseError>
pub fn find_subtable<S>(
&self,
f: impl Fn(ReadScope<'a>) -> Result<Option<S>, ParseError>
) -> Result<Option<S>, ParseError>
pub fn read_subtables<S: ReadBinaryDep<'a, Args = LayoutCache<T>>>(
&self,
cache: &LayoutCache<T>
) -> Result<Vec<S::HostType>, ParseError>
Trait Implementations
sourceimpl<'a, T: LayoutTableType> ReadBinary<'a> for Lookup<'a, T>
impl<'a, T: LayoutTableType> ReadBinary<'a> for Lookup<'a, T>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more