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