Struct wast::IndexOrRef [−][src]
pub struct IndexOrRef<'a, K>(pub ItemRef<'a, K>);
Expand description
Convenience structure to parse $f
or (item $f)
.
Trait Implementations
Returns a human-readable name of this token to display when generating errors about this token missing. Read more
Auto Trait Implementations
impl<'a, K> RefUnwindSafe for IndexOrRef<'a, K> where
K: RefUnwindSafe,
impl<'a, K> Send for IndexOrRef<'a, K> where
K: Send,
impl<'a, K> Sync for IndexOrRef<'a, K> where
K: Sync,
impl<'a, K> Unpin for IndexOrRef<'a, K> where
K: Unpin,
impl<'a, K> UnwindSafe for IndexOrRef<'a, K> where
K: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more