pub struct ReferenceWarning {
pub target: String,
pub kind: ReferenceWarningKind,
}Expand description
A warning produced while resolving cross-references.
Fields§
§target: StringThe cross-reference target that could not be resolved, exactly as written in the source.
kind: ReferenceWarningKindThe kind of problem encountered.
Trait Implementations§
Source§impl Clone for ReferenceWarning
impl Clone for ReferenceWarning
Source§fn clone(&self) -> ReferenceWarning
fn clone(&self) -> ReferenceWarning
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 ReferenceWarning
impl Debug for ReferenceWarning
impl Eq for ReferenceWarning
Source§impl PartialEq for ReferenceWarning
impl PartialEq for ReferenceWarning
Source§fn eq(&self, other: &ReferenceWarning) -> bool
fn eq(&self, other: &ReferenceWarning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReferenceWarning
Auto Trait Implementations§
impl Freeze for ReferenceWarning
impl RefUnwindSafe for ReferenceWarning
impl Send for ReferenceWarning
impl Sync for ReferenceWarning
impl Unpin for ReferenceWarning
impl UnsafeUnpin for ReferenceWarning
impl UnwindSafe for ReferenceWarning
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