Enum wasm_bindgen_backend::ast::OperationKind
source · pub enum OperationKind {
Regular,
Getter(Option<Ident>),
Setter(Option<Ident>),
IndexingGetter,
IndexingSetter,
IndexingDeleter,
}
Expand description
The kind of operation performed by a method
Variants§
Regular
A standard method, nothing special
Getter(Option<Ident>)
A method for getting the value of the provided Ident
Setter(Option<Ident>)
A method for setting the value of the provided Ident
IndexingGetter
A dynamically intercepted getter
IndexingSetter
A dynamically intercepted setter
IndexingDeleter
A dynamically intercepted deleter
Trait Implementations§
source§impl Clone for OperationKind
impl Clone for OperationKind
source§fn clone(&self) -> OperationKind
fn clone(&self) -> OperationKind
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 RefUnwindSafe for OperationKind
impl !Send for OperationKind
impl !Sync for OperationKind
impl Unpin for OperationKind
impl UnwindSafe for OperationKind
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