pub enum PropertyAnnotation {
Getter(String),
Setter(String),
DefaultValue(String),
}Expand description
Annotations valid on properties.
Variants§
Trait Implementations§
Source§impl Clone for PropertyAnnotation
impl Clone for PropertyAnnotation
Source§fn clone(&self) -> PropertyAnnotation
fn clone(&self) -> PropertyAnnotation
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 moreSource§impl Debug for PropertyAnnotation
impl Debug for PropertyAnnotation
Source§impl PartialEq for PropertyAnnotation
impl PartialEq for PropertyAnnotation
Source§fn eq(&self, other: &PropertyAnnotation) -> bool
fn eq(&self, other: &PropertyAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PropertyAnnotation
impl Serialize for PropertyAnnotation
impl Eq for PropertyAnnotation
impl StructuralPartialEq for PropertyAnnotation
Auto Trait Implementations§
impl Freeze for PropertyAnnotation
impl RefUnwindSafe for PropertyAnnotation
impl Send for PropertyAnnotation
impl Sync for PropertyAnnotation
impl Unpin for PropertyAnnotation
impl UnsafeUnpin for PropertyAnnotation
impl UnwindSafe for PropertyAnnotation
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