#[non_exhaustive]pub enum ReferenceWarningKind {
Unresolved,
}Expand description
The kind of problem described by a ReferenceWarning.
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.
Unresolved
The target could not be resolved to any destination.
Trait Implementations§
Source§impl Clone for ReferenceWarningKind
impl Clone for ReferenceWarningKind
Source§fn clone(&self) -> ReferenceWarningKind
fn clone(&self) -> ReferenceWarningKind
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 ReferenceWarningKind
Source§impl Debug for ReferenceWarningKind
impl Debug for ReferenceWarningKind
impl Eq for ReferenceWarningKind
Source§impl PartialEq for ReferenceWarningKind
impl PartialEq for ReferenceWarningKind
Source§fn eq(&self, other: &ReferenceWarningKind) -> bool
fn eq(&self, other: &ReferenceWarningKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReferenceWarningKind
Auto Trait Implementations§
impl Freeze for ReferenceWarningKind
impl RefUnwindSafe for ReferenceWarningKind
impl Send for ReferenceWarningKind
impl Sync for ReferenceWarningKind
impl Unpin for ReferenceWarningKind
impl UnsafeUnpin for ReferenceWarningKind
impl UnwindSafe for ReferenceWarningKind
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