pub struct RootedTerms { /* private fields */ }Expand description
Handle to a contiguous run of terms registered as GC roots by
ProcessContext::with_rooted.
Indices are relative to the handle (0..len), not to the process root
stack, so nested with_rooted scopes compose.
Trait Implementations§
Source§impl Clone for RootedTerms
impl Clone for RootedTerms
Source§fn clone(&self) -> RootedTerms
fn clone(&self) -> RootedTerms
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RootedTerms
Auto Trait Implementations§
impl Freeze for RootedTerms
impl RefUnwindSafe for RootedTerms
impl Send for RootedTerms
impl Sync for RootedTerms
impl Unpin for RootedTerms
impl UnsafeUnpin for RootedTerms
impl UnwindSafe for RootedTerms
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