Struct wast::core::InlineImport
source · pub struct InlineImport<'a> {
pub module: &'a str,
pub field: &'a str,
}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: &'a strTrait Implementations§
source§impl<'a> Clone for InlineImport<'a>
impl<'a> Clone for InlineImport<'a>
source§fn clone(&self) -> InlineImport<'a>
fn clone(&self) -> InlineImport<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more