Struct wac_parser::InterfaceExport
source · pub struct InterfaceExport<'a> {
pub docs: Vec<DocComment<'a>>,
pub id: Ident<'a>,
pub ty: FuncTypeRef<'a>,
}Expand description
Represents an interface export in the AST.
Fields§
§docs: Vec<DocComment<'a>>The doc comments for the export.
id: Ident<'a>The identifier of the export.
ty: FuncTypeRef<'a>The type of the export.
Trait Implementations§
source§impl<'a> Clone for InterfaceExport<'a>
impl<'a> Clone for InterfaceExport<'a>
source§fn clone(&self) -> InterfaceExport<'a>
fn clone(&self) -> InterfaceExport<'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 InterfaceExport<'a>
impl<'a> Debug for InterfaceExport<'a>
Auto Trait Implementations§
impl<'a> Freeze for InterfaceExport<'a>
impl<'a> RefUnwindSafe for InterfaceExport<'a>
impl<'a> Send for InterfaceExport<'a>
impl<'a> Sync for InterfaceExport<'a>
impl<'a> Unpin for InterfaceExport<'a>
impl<'a> UnwindSafe for InterfaceExport<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)