Struct wast::InlineImport [−][src]
Expand description
A listing of a inline (import "foo")
statement.
Note that when parsing this type it is somewhat unconventional that it
parses its own surrounding parentheses. This is typically an optional type,
so it’s so far been a bit nicer to have the optionality handled through
Peek
rather than Option<T>
.
Fields
module: &'a str
field: Option<&'a str>
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> RefUnwindSafe for InlineImport<'a>
impl<'a> Send for InlineImport<'a>
impl<'a> Sync for InlineImport<'a>
impl<'a> Unpin for InlineImport<'a>
impl<'a> UnwindSafe for InlineImport<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more