pub enum PropKind {
Init,
Get,
Set,
Ctor,
Method,
}
Expand description
A flag for determining what kind of property
Variants
Init
A property with a value
Get
A method with the get keyword
Set
A method with the set keyword
Ctor
A constructor
Method
A standard method
Trait Implementations
sourceimpl PartialEq<PropKind> for PropKind
impl PartialEq<PropKind> for PropKind
impl Copy for PropKind
impl StructuralPartialEq for PropKind
Auto Trait Implementations
impl RefUnwindSafe for PropKind
impl Send for PropKind
impl Sync for PropKind
impl Unpin for PropKind
impl UnwindSafe for PropKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more