Struct wasm_bindgen_macro_support::BindgenAttrs
source · [−]Expand description
Parsed attributes from a #[wasm_bindgen(..)]
.
Fields
attrs: Vec<(Cell<bool>, BindgenAttr)>
List of parsed attributes
Trait Implementations
sourceimpl Default for BindgenAttrs
impl Default for BindgenAttrs
sourcefn default() -> BindgenAttrs
fn default() -> BindgenAttrs
Returns the “default value” for a type. Read more
sourceimpl Parse for BindgenAttrs
impl Parse for BindgenAttrs
fn parse(input: ParseStream<'_>) -> SynResult<Self>
Auto Trait Implementations
impl !RefUnwindSafe for BindgenAttrs
impl !Send for BindgenAttrs
impl !Sync for BindgenAttrs
impl Unpin for BindgenAttrs
impl UnwindSafe for BindgenAttrs
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