Struct hecs::NoSuchEntity
source · pub struct NoSuchEntity;
Expand description
Error indicating that no entity with a particular ID exists
Trait Implementations§
source§impl Clone for NoSuchEntity
impl Clone for NoSuchEntity
source§fn clone(&self) -> NoSuchEntity
fn clone(&self) -> NoSuchEntity
Returns a copy of the value. Read more
1.0.0 · 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 NoSuchEntity
impl Debug for NoSuchEntity
source§impl Display for NoSuchEntity
impl Display for NoSuchEntity
source§impl Error for NoSuchEntity
impl Error for NoSuchEntity
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<NoSuchEntity> for ComponentError
impl From<NoSuchEntity> for ComponentError
source§fn from(NoSuchEntity: NoSuchEntity) -> Self
fn from(NoSuchEntity: NoSuchEntity) -> Self
Converts to this type from the input type.
source§impl From<NoSuchEntity> for QueryOneError
impl From<NoSuchEntity> for QueryOneError
source§fn from(NoSuchEntity: NoSuchEntity) -> Self
fn from(NoSuchEntity: NoSuchEntity) -> Self
Converts to this type from the input type.
source§impl PartialEq for NoSuchEntity
impl PartialEq for NoSuchEntity
source§fn eq(&self, other: &NoSuchEntity) -> bool
fn eq(&self, other: &NoSuchEntity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NoSuchEntity
impl StructuralPartialEq for NoSuchEntity
Auto Trait Implementations§
impl Freeze for NoSuchEntity
impl RefUnwindSafe for NoSuchEntity
impl Send for NoSuchEntity
impl Sync for NoSuchEntity
impl Unpin for NoSuchEntity
impl UnwindSafe for NoSuchEntity
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