Struct wast::IndexOrRef[][src]

pub struct IndexOrRef<'a, K>(pub ItemRef<'a, K>);

Convenience structure to parse $f or (item $f).

Trait Implementations

impl<'a, K: Clone> Clone for IndexOrRef<'a, K>[src]

impl<'a, K: Debug> Debug for IndexOrRef<'a, K>[src]

impl<'a, K> Parse<'a> for IndexOrRef<'a, K> where
    K: Parse<'a> + Default
[src]

impl<'a, K: Peek> Peek for IndexOrRef<'a, K>[src]

Auto Trait Implementations

impl<'a, K> RefUnwindSafe for IndexOrRef<'a, K> where
    K: RefUnwindSafe
[src]

impl<'a, K> Send for IndexOrRef<'a, K> where
    K: Send
[src]

impl<'a, K> Sync for IndexOrRef<'a, K> where
    K: Sync
[src]

impl<'a, K> Unpin for IndexOrRef<'a, K> where
    K: Unpin
[src]

impl<'a, K> UnwindSafe for IndexOrRef<'a, K> where
    K: UnwindSafe
[src]

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<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.