pub struct Scope { /* private fields */ }Expand description
The ownership boundaries that can change while the Artifact’s target remains the same.
Trait Implementations§
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Forget for Scope
impl Freeze for Scopewhere
*const LeafNode<ChildPrefix, ArtifactName> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(ChildPrefix, ArtifactName)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for Scope
impl RefUnwindSafe for Scope
impl Send for Scopewhere
NodeRef<Owned, ChildPrefix, ArtifactName, LeafOrInternal>: Send,
BoxRaw<(ChildPrefix, ArtifactName)>: Send,
RawVecInner: Send,
impl Sync for Scopewhere
NodeRef<Owned, ChildPrefix, ArtifactName, LeafOrInternal>: Sync,
BoxRaw<(ChildPrefix, ArtifactName)>: Sync,
RawVecInner: Sync,
impl Unpin for Scopewhere
*const LeafNode<ChildPrefix, ArtifactName> is !null: Unpin,
Box<(ChildPrefix, ArtifactName)>: Unpin,
*const u8 is !null: Unpin,
impl UnsafeUnpin for Scopewhere
*const LeafNode<ChildPrefix, ArtifactName> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(ChildPrefix, ArtifactName)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Scope
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.