pub enum GetSetGeneratorOrNone {
Get(Keyword<Get>),
Set(Keyword<Set>),
Generator(Keyword<Generator>),
GeneratorStar(Span),
None,
}
Variants§
Trait Implementations§
source§impl Clone for GetSetGeneratorOrNone
impl Clone for GetSetGeneratorOrNone
source§fn clone(&self) -> GetSetGeneratorOrNone
fn clone(&self) -> GetSetGeneratorOrNone
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 moresource§impl Debug for GetSetGeneratorOrNone
impl Debug for GetSetGeneratorOrNone
source§impl Default for GetSetGeneratorOrNone
impl Default for GetSetGeneratorOrNone
source§fn default() -> GetSetGeneratorOrNone
fn default() -> GetSetGeneratorOrNone
Returns the “default value” for a type. Read more
source§impl PartialEq<GetSetGeneratorOrNone> for GetSetGeneratorOrNone
impl PartialEq<GetSetGeneratorOrNone> for GetSetGeneratorOrNone
source§fn eq(&self, other: &GetSetGeneratorOrNone) -> bool
fn eq(&self, other: &GetSetGeneratorOrNone) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GetSetGeneratorOrNone
impl StructuralEq for GetSetGeneratorOrNone
impl StructuralPartialEq for GetSetGeneratorOrNone
Auto Trait Implementations§
impl RefUnwindSafe for GetSetGeneratorOrNone
impl Send for GetSetGeneratorOrNone
impl Sync for GetSetGeneratorOrNone
impl Unpin for GetSetGeneratorOrNone
impl UnwindSafe for GetSetGeneratorOrNone
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