Enum golem_wasm_ast::core::ImportOrFunc
source · pub enum ImportOrFunc<Expr: 'static> {
Import(Mrc<Import>),
Func(Func<Expr>),
}
Variants§
Trait Implementations§
source§impl<Expr: Clone + 'static> Clone for ImportOrFunc<Expr>
impl<Expr: Clone + 'static> Clone for ImportOrFunc<Expr>
source§fn clone(&self) -> ImportOrFunc<Expr>
fn clone(&self) -> ImportOrFunc<Expr>
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 moreAuto Trait Implementations§
impl<Expr> Freeze for ImportOrFunc<Expr>
impl<Expr> !RefUnwindSafe for ImportOrFunc<Expr>
impl<Expr> !Send for ImportOrFunc<Expr>
impl<Expr> !Sync for ImportOrFunc<Expr>
impl<Expr> Unpin for ImportOrFunc<Expr>
impl<Expr> !UnwindSafe for ImportOrFunc<Expr>
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)