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.