Enum wain_syntax_text::ast::GlobalKind
source · pub enum GlobalKind<'s> {
Import(Import<'s>),
Init(Vec<Instruction<'s>>),
}
Variants§
Import(Import<'s>)
Init(Vec<Instruction<'s>>)
Auto Trait Implementations§
impl<'s> RefUnwindSafe for GlobalKind<'s>
impl<'s> Send for GlobalKind<'s>
impl<'s> Sync for GlobalKind<'s>
impl<'s> Unpin for GlobalKind<'s>
impl<'s> UnwindSafe for GlobalKind<'s>
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