Enum gdnative::export::user_data::Infallible
source · pub enum Infallible {}
Expand description
Error type indicating that an operation can’t fail.
Trait Implementations§
source§impl Clone for Infallible
impl Clone for Infallible
source§fn clone(&self) -> Infallible
fn clone(&self) -> Infallible
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 Infallible
impl Debug for Infallible
source§impl Display for Infallible
impl Display for Infallible
source§impl Hash for Infallible
impl Hash for Infallible
source§impl Ord for Infallible
impl Ord for Infallible
source§fn cmp(&self, other: &Infallible) -> Ordering
fn cmp(&self, other: &Infallible) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Infallible> for Infallible
impl PartialEq<Infallible> for Infallible
source§fn eq(&self, other: &Infallible) -> bool
fn eq(&self, other: &Infallible) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Infallible> for Infallible
impl PartialOrd<Infallible> for Infallible
source§fn partial_cmp(&self, other: &Infallible) -> Option<Ordering>
fn partial_cmp(&self, other: &Infallible) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Infallible
impl Eq for Infallible
impl StructuralEq for Infallible
impl StructuralPartialEq for Infallible
Auto Trait Implementations§
impl RefUnwindSafe for Infallible
impl Send for Infallible
impl Sync for Infallible
impl Unpin for Infallible
impl UnwindSafe for Infallible
Blanket Implementations§
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.