pub enum PropertyAccessor {
Getter {
annotations: Vec<AnnotationSet>,
modifiers: Vec<Modifier>,
return_ty: Option<Type>,
body: Option<Block>,
},
Setter {
annotations: Vec<AnnotationSet>,
modifiers: Vec<Modifier>,
field: Option<PropertySetterField>,
return_ty: Option<Type>,
body: Option<Block>,
},
}
Variants§
Trait Implementations§
Source§impl Clone for PropertyAccessor
impl Clone for PropertyAccessor
Source§fn clone(&self) -> PropertyAccessor
fn clone(&self) -> PropertyAccessor
Returns a duplicate 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 PropertyAccessor
impl Debug for PropertyAccessor
Source§impl PartialEq for PropertyAccessor
impl PartialEq for PropertyAccessor
impl StructuralPartialEq for PropertyAccessor
Auto Trait Implementations§
impl Freeze for PropertyAccessor
impl RefUnwindSafe for PropertyAccessor
impl Send for PropertyAccessor
impl Sync for PropertyAccessor
impl Unpin for PropertyAccessor
impl UnwindSafe for PropertyAccessor
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