Enum wasm_bindgen_backend::ast::OperationKind
source · pub enum OperationKind {
Regular,
Getter(Option<String>),
Setter(Option<String>),
IndexingGetter,
IndexingSetter,
IndexingDeleter,
}
Expand description
The kind of operation performed by a method
Variants§
Regular
A standard method, nothing special
Getter(Option<String>)
A method for getting the value of the provided Ident or String
Setter(Option<String>)
A method for setting the value of the provided Ident or String
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 Freeze for OperationKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)