#[non_exhaustive]pub enum SkippedDeclarationReason {
TopLevelPatternBinding,
UnrecognizedDeclaration,
}Expand description
Why a whole declaration was skipped.
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 Clone for SkippedDeclarationReason
impl Clone for SkippedDeclarationReason
Source§fn clone(&self) -> SkippedDeclarationReason
fn clone(&self) -> SkippedDeclarationReason
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 moreimpl Copy for SkippedDeclarationReason
Source§impl Debug for SkippedDeclarationReason
impl Debug for SkippedDeclarationReason
impl Eq for SkippedDeclarationReason
Source§impl PartialEq for SkippedDeclarationReason
impl PartialEq for SkippedDeclarationReason
Source§fn eq(&self, other: &SkippedDeclarationReason) -> bool
fn eq(&self, other: &SkippedDeclarationReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SkippedDeclarationReason
Auto Trait Implementations§
impl Freeze for SkippedDeclarationReason
impl RefUnwindSafe for SkippedDeclarationReason
impl Send for SkippedDeclarationReason
impl Sync for SkippedDeclarationReason
impl Unpin for SkippedDeclarationReason
impl UnsafeUnpin for SkippedDeclarationReason
impl UnwindSafe for SkippedDeclarationReason
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