Struct aha_wit_parser::Function
source · [−]pub struct Function {
pub abi: Abi,
pub is_async: bool,
pub docs: Docs,
pub name: String,
pub kind: FunctionKind,
pub params: Vec<(String, Type)>,
pub results: Vec<(String, Type)>,
}Fields
abi: Abiis_async: booldocs: Docsname: Stringkind: FunctionKindparams: Vec<(String, Type)>results: Vec<(String, Type)>Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more