pub struct ErasedArtifactHandle { /* private fields */ }
Expand description
A type-erased handle to a particular Artifact, with no information as to what exactly the artifact is.
Trait Implementations§
Source§impl AsArtifactHandle for ErasedArtifactHandle
impl AsArtifactHandle for ErasedArtifactHandle
Source§fn erase(&self) -> ErasedArtifactHandle
fn erase(&self) -> ErasedArtifactHandle
Return a type-erased handle to the given artifact.
Source§impl Clone for ErasedArtifactHandle
impl Clone for ErasedArtifactHandle
Source§fn clone(&self) -> ErasedArtifactHandle
fn clone(&self) -> ErasedArtifactHandle
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 ErasedArtifactHandle
impl Debug for ErasedArtifactHandle
Source§impl Hash for ErasedArtifactHandle
impl Hash for ErasedArtifactHandle
Source§impl Ord for ErasedArtifactHandle
impl Ord for ErasedArtifactHandle
Source§fn cmp(&self, other: &ErasedArtifactHandle) -> Ordering
fn cmp(&self, other: &ErasedArtifactHandle) -> 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<A: ArtifactId> PartialEq<ArtifactHandle<A>> for ErasedArtifactHandle
impl<A: ArtifactId> PartialEq<ArtifactHandle<A>> for ErasedArtifactHandle
Source§impl<A: ArtifactId> PartialEq<ErasedArtifactHandle> for ArtifactHandle<A>
impl<A: ArtifactId> PartialEq<ErasedArtifactHandle> for ArtifactHandle<A>
Source§impl PartialEq for ErasedArtifactHandle
impl PartialEq for ErasedArtifactHandle
Source§impl PartialOrd for ErasedArtifactHandle
impl PartialOrd for ErasedArtifactHandle
impl Copy for ErasedArtifactHandle
impl Eq for ErasedArtifactHandle
impl StructuralPartialEq for ErasedArtifactHandle
Auto Trait Implementations§
impl Freeze for ErasedArtifactHandle
impl RefUnwindSafe for ErasedArtifactHandle
impl Send for ErasedArtifactHandle
impl Sync for ErasedArtifactHandle
impl Unpin for ErasedArtifactHandle
impl UnwindSafe for ErasedArtifactHandle
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