Struct allsorts_no_std::layout::Lookup [−][src]
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]
&'b self
) -> Result<SmartLookupSubtableIter<'a, 'b, T>, ParseError>
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]
&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>
[src]
&self,
cache: &LayoutCache<T>
) -> Result<Vec<S::HostType>, ParseError>
Trait Implementations
impl<'a, T: LayoutTableType> ReadBinary<'a> for Lookup<'a, T>
[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Lookup<'a, T> where
T: RefUnwindSafe,
<T as LayoutTableType>::BaseLookupType: RefUnwindSafe,
T: RefUnwindSafe,
<T as LayoutTableType>::BaseLookupType: RefUnwindSafe,
impl<'a, T> Send for Lookup<'a, T> where
T: Send,
<T as LayoutTableType>::BaseLookupType: Send,
T: Send,
<T as LayoutTableType>::BaseLookupType: Send,
impl<'a, T> Sync for Lookup<'a, T> where
T: Sync,
<T as LayoutTableType>::BaseLookupType: Sync,
T: Sync,
<T as LayoutTableType>::BaseLookupType: Sync,
impl<'a, T> Unpin for Lookup<'a, T> where
T: Unpin,
<T as LayoutTableType>::BaseLookupType: Unpin,
T: Unpin,
<T as LayoutTableType>::BaseLookupType: Unpin,
impl<'a, T> UnwindSafe for Lookup<'a, T> where
T: UnwindSafe,
<T as LayoutTableType>::BaseLookupType: UnwindSafe,
T: UnwindSafe,
<T as LayoutTableType>::BaseLookupType: UnwindSafe,
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, 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>,