pub struct RootableVec<T: Traceable> { /* private fields */ }Expand description
A vector of items to be rooted with RootedVec.
Guaranteed to be empty when not rooted.
Implementations§
Source§impl<T: Traceable> RootableVec<T>
impl<T: Traceable> RootableVec<T>
Sourcepub fn new_unrooted() -> RootableVec<T>
pub fn new_unrooted() -> RootableVec<T>
Create a vector of items of type T that can be rooted later.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for RootableVec<T>
impl<T> RefUnwindSafe for RootableVec<T>where
T: RefUnwindSafe,
impl<T> Send for RootableVec<T>where
T: Send,
impl<T> Sync for RootableVec<T>where
T: Sync,
impl<T> Unpin for RootableVec<T>where
T: Unpin,
impl<T> UnwindSafe for RootableVec<T>where
T: UnwindSafe,
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> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes