Struct wac_parser::NamedWorldItem
source · pub struct NamedWorldItem<'a> {
pub id: Ident<'a>,
pub ty: ExternType<'a>,
}Expand description
Represents a named world item in the AST.
Fields§
§id: Ident<'a>The identifier of the item being imported or exported.
ty: ExternType<'a>The extern type of the item.
Trait Implementations§
source§impl<'a> Clone for NamedWorldItem<'a>
impl<'a> Clone for NamedWorldItem<'a>
source§fn clone(&self) -> NamedWorldItem<'a>
fn clone(&self) -> NamedWorldItem<'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 moresource§impl<'a> Debug for NamedWorldItem<'a>
impl<'a> Debug for NamedWorldItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for NamedWorldItem<'a>
impl<'a> RefUnwindSafe for NamedWorldItem<'a>
impl<'a> Send for NamedWorldItem<'a>
impl<'a> Sync for NamedWorldItem<'a>
impl<'a> Unpin for NamedWorldItem<'a>
impl<'a> UnwindSafe for NamedWorldItem<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more