Struct wasm_bindgen_backend::ast::Function
source · pub struct Function {
pub name: String,
pub name_span: Span,
pub renamed_via_js_name: bool,
pub arguments: Vec<ArgCaptured>,
pub ret: Option<Type>,
pub rust_attrs: Vec<Attribute>,
pub rust_vis: Visibility,
}
Fields
name: String
name_span: Span
renamed_via_js_name: bool
arguments: Vec<ArgCaptured>
ret: Option<Type>
rust_attrs: Vec<Attribute>
rust_vis: Visibility
Trait Implementations
sourceimpl ImportedTypes for Function
impl ImportedTypes for Function
fn imported_types<F>(&self, f: &mut F)where
F: FnMut(&Ident, ImportedTypeKind),
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more