#[non_exhaustive]pub enum NonGetterReason {
GenericTypeParam,
MultipleArgs,
NotAGet,
NotAMethod,
NonSelfUniqueArg,
NoArgs,
}
Expand description
Reason for considering a function is not a getter.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Debug for NonGetterReason
impl Debug for NonGetterReason
Source§impl Display for NonGetterReason
impl Display for NonGetterReason
Source§impl PartialEq for NonGetterReason
impl PartialEq for NonGetterReason
impl StructuralPartialEq for NonGetterReason
Auto Trait Implementations§
impl Freeze for NonGetterReason
impl RefUnwindSafe for NonGetterReason
impl Send for NonGetterReason
impl Sync for NonGetterReason
impl Unpin for NonGetterReason
impl UnwindSafe for NonGetterReason
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