pub enum AccessorKind {
Getter,
Setter,
}Expand description
Which half of an accessor descriptor Instruction::DefineAccessor installs.
A property with both a getter and a setter is defined by two instructions on
the same key.
Variants§
Trait Implementations§
Source§impl Clone for AccessorKind
impl Clone for AccessorKind
Source§fn clone(&self) -> AccessorKind
fn clone(&self) -> AccessorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AccessorKind
Source§impl Debug for AccessorKind
impl Debug for AccessorKind
impl Eq for AccessorKind
Source§impl Hash for AccessorKind
impl Hash for AccessorKind
Source§impl PartialEq for AccessorKind
impl PartialEq for AccessorKind
impl StructuralPartialEq for AccessorKind
Auto Trait Implementations§
impl Freeze for AccessorKind
impl RefUnwindSafe for AccessorKind
impl Send for AccessorKind
impl Sync for AccessorKind
impl Unpin for AccessorKind
impl UnsafeUnpin for AccessorKind
impl UnwindSafe for AccessorKind
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