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 more