Struct dynstore::DynamicHandle
source · [−]pub struct DynamicHandle { /* private fields */ }
Expand description
A handle pointing to an object of an unspecified type. Can be cast to any type that the real underlying type can be cast to. Can be used to store heterogeneous handles in one place.
Trait Implementations
sourceimpl Clone for DynamicHandle
impl Clone for DynamicHandle
sourcefn clone(&self) -> DynamicHandle
fn clone(&self) -> DynamicHandle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DynamicHandle
impl Debug for DynamicHandle
sourceimpl Hash for DynamicHandle
impl Hash for DynamicHandle
sourceimpl Ord for DynamicHandle
impl Ord for DynamicHandle
sourceimpl PartialEq<DynamicHandle> for DynamicHandle
impl PartialEq<DynamicHandle> for DynamicHandle
sourcefn eq(&self, other: &DynamicHandle) -> bool
fn eq(&self, other: &DynamicHandle) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DynamicHandle) -> bool
fn ne(&self, other: &DynamicHandle) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DynamicHandle> for DynamicHandle
impl PartialOrd<DynamicHandle> for DynamicHandle
sourcefn partial_cmp(&self, other: &DynamicHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &DynamicHandle) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for DynamicHandle
impl Eq for DynamicHandle
impl StructuralEq for DynamicHandle
impl StructuralPartialEq for DynamicHandle
Auto Trait Implementations
impl RefUnwindSafe for DynamicHandle
impl Send for DynamicHandle
impl Sync for DynamicHandle
impl Unpin for DynamicHandle
impl UnwindSafe for DynamicHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more