pub struct IdentifierMismatch {
pub given: String,
pub expected: &'static str,
}Expand description
Why an identifier does not fit the kind it was registered under.
Fields§
§given: StringThe identifier as given.
expected: &'static strWhat that kind’s identifiers look like.
Trait Implementations§
Source§impl Clone for IdentifierMismatch
impl Clone for IdentifierMismatch
Source§fn clone(&self) -> IdentifierMismatch
fn clone(&self) -> IdentifierMismatch
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 IdentifierMismatch
impl Debug for IdentifierMismatch
Source§impl Display for IdentifierMismatch
impl Display for IdentifierMismatch
impl Eq for IdentifierMismatch
Source§impl PartialEq for IdentifierMismatch
impl PartialEq for IdentifierMismatch
impl StructuralPartialEq for IdentifierMismatch
Auto Trait Implementations§
impl Freeze for IdentifierMismatch
impl RefUnwindSafe for IdentifierMismatch
impl Send for IdentifierMismatch
impl Sync for IdentifierMismatch
impl Unpin for IdentifierMismatch
impl UnsafeUnpin for IdentifierMismatch
impl UnwindSafe for IdentifierMismatch
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