Struct neon::handle::DowncastError
source · pub struct DowncastError<F: Value, T: Value> { /* private fields */ }
Expand description
An error representing a failed downcast.
Trait Implementations§
source§impl<F: Clone + Value, T: Clone + Value> Clone for DowncastError<F, T>
impl<F: Clone + Value, T: Clone + Value> Clone for DowncastError<F, T>
source§fn clone(&self) -> DowncastError<F, T>
fn clone(&self) -> DowncastError<F, T>
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<F: Value, T: Value> Error for DowncastError<F, T>
impl<F: Value, T: Value> Error for DowncastError<F, T>
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<F: Ord + Value, T: Ord + Value> Ord for DowncastError<F, T>
impl<F: Ord + Value, T: Ord + Value> Ord for DowncastError<F, T>
source§fn cmp(&self, other: &DowncastError<F, T>) -> Ordering
fn cmp(&self, other: &DowncastError<F, T>) -> 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<F: PartialEq + Value, T: PartialEq + Value> PartialEq for DowncastError<F, T>
impl<F: PartialEq + Value, T: PartialEq + Value> PartialEq for DowncastError<F, T>
source§fn eq(&self, other: &DowncastError<F, T>) -> bool
fn eq(&self, other: &DowncastError<F, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<F: PartialOrd + Value, T: PartialOrd + Value> PartialOrd for DowncastError<F, T>
impl<F: PartialOrd + Value, T: PartialOrd + Value> PartialOrd for DowncastError<F, T>
source§fn partial_cmp(&self, other: &DowncastError<F, T>) -> Option<Ordering>
fn partial_cmp(&self, other: &DowncastError<F, T>) -> 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<F: Eq + Value, T: Eq + Value> Eq for DowncastError<F, T>
impl<F: Value, T: Value> StructuralPartialEq for DowncastError<F, T>
Auto Trait Implementations§
impl<F, T> Freeze for DowncastError<F, T>
impl<F, T> RefUnwindSafe for DowncastError<F, T>where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<F, T> Send for DowncastError<F, T>
impl<F, T> Sync for DowncastError<F, T>
impl<F, T> Unpin for DowncastError<F, T>
impl<F, T> UnwindSafe for DowncastError<F, T>where
F: UnwindSafe,
T: UnwindSafe,
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