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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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