pub enum InvalidComponentObject {
MissingContent,
MissingNbtTarget,
ConflictingNbtDisplay,
MissingObjectField,
InvalidObjectType,
}Variants§
Trait Implementations§
Source§impl Clone for InvalidComponentObject
impl Clone for InvalidComponentObject
Source§fn clone(&self) -> InvalidComponentObject
fn clone(&self) -> InvalidComponentObject
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 InvalidComponentObject
Source§impl Debug for InvalidComponentObject
impl Debug for InvalidComponentObject
Source§impl Display for InvalidComponentObject
impl Display for InvalidComponentObject
impl Eq for InvalidComponentObject
Source§impl Error for InvalidComponentObject
impl Error for InvalidComponentObject
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 InvalidComponentObject
impl PartialEq for InvalidComponentObject
impl StructuralPartialEq for InvalidComponentObject
Auto Trait Implementations§
impl Freeze for InvalidComponentObject
impl RefUnwindSafe for InvalidComponentObject
impl Send for InvalidComponentObject
impl Sync for InvalidComponentObject
impl Unpin for InvalidComponentObject
impl UnsafeUnpin for InvalidComponentObject
impl UnwindSafe for InvalidComponentObject
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