Struct oxygengine_core::ecs::pipeline::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) -> ComponentError
fn from(_: NoSuchEntity) -> ComponentError
Converts to this type from the input type.
source§impl From<NoSuchEntity> for QueryOneError
impl From<NoSuchEntity> for QueryOneError
source§fn from(_: NoSuchEntity) -> QueryOneError
fn from(_: NoSuchEntity) -> QueryOneError
Converts to this type from the input type.
source§impl PartialEq<NoSuchEntity> for NoSuchEntity
impl PartialEq<NoSuchEntity> 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 StructuralEq for NoSuchEntity
impl StructuralPartialEq for NoSuchEntity
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more