pub struct InvalidIdentifier;Expand description
An error returned when a string is not a valid Minecraft resource identifier.
Trait Implementations§
Source§impl Clone for InvalidIdentifier
impl Clone for InvalidIdentifier
Source§fn clone(&self) -> InvalidIdentifier
fn clone(&self) -> InvalidIdentifier
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 InvalidIdentifier
Source§impl Debug for InvalidIdentifier
impl Debug for InvalidIdentifier
Source§impl Display for InvalidIdentifier
impl Display for InvalidIdentifier
impl Eq for InvalidIdentifier
Source§impl Error for InvalidIdentifier
impl Error for InvalidIdentifier
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for InvalidIdentifier
impl PartialEq for InvalidIdentifier
impl StructuralPartialEq for InvalidIdentifier
Auto Trait Implementations§
impl Freeze for InvalidIdentifier
impl RefUnwindSafe for InvalidIdentifier
impl Send for InvalidIdentifier
impl Sync for InvalidIdentifier
impl Unpin for InvalidIdentifier
impl UnsafeUnpin for InvalidIdentifier
impl UnwindSafe for InvalidIdentifier
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