pub struct ErasedHandle { /* private fields */ }Expand description
Type-erased handle.
Implementations§
Source§impl ErasedHandle
Property key constants
impl ErasedHandle
Property key constants
Trait Implementations§
Source§impl Clone for ErasedHandle
impl Clone for ErasedHandle
Source§fn clone(&self) -> ErasedHandle
fn clone(&self) -> ErasedHandle
Returns a duplicate 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 ErasedHandle
impl Debug for ErasedHandle
Source§impl Default for ErasedHandle
impl Default for ErasedHandle
Source§impl<T> From<ErasedHandle> for Handle<T>
impl<T> From<ErasedHandle> for Handle<T>
Source§fn from(erased_handle: ErasedHandle) -> Self
fn from(erased_handle: ErasedHandle) -> Self
Converts to this type from the input type.
Source§impl<T> From<Handle<T>> for ErasedHandle
impl<T> From<Handle<T>> for ErasedHandle
Source§impl Hash for ErasedHandle
impl Hash for ErasedHandle
Source§impl Inspect for ErasedHandle
impl Inspect for ErasedHandle
Source§fn properties(&self) -> Vec<PropertyInfo<'_>>
fn properties(&self) -> Vec<PropertyInfo<'_>>
Returns information about “public” properties.
Source§impl Ord for ErasedHandle
impl Ord for ErasedHandle
Source§fn cmp(&self, other: &ErasedHandle) -> Ordering
fn cmp(&self, other: &ErasedHandle) -> 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 for ErasedHandle
impl PartialEq for ErasedHandle
Source§impl PartialOrd for ErasedHandle
impl PartialOrd for ErasedHandle
Source§impl Visit for ErasedHandle
impl Visit for ErasedHandle
impl Copy for ErasedHandle
impl Eq for ErasedHandle
impl StructuralPartialEq for ErasedHandle
Auto Trait Implementations§
impl Freeze for ErasedHandle
impl RefUnwindSafe for ErasedHandle
impl Send for ErasedHandle
impl Sync for ErasedHandle
impl Unpin for ErasedHandle
impl UnwindSafe for ErasedHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> PropertyValue for Twhere
T: Debug + 'static,
impl<T> PropertyValue for Twhere
T: Debug + 'static,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.