pub struct RootableVec<T: Traceable> {
v: Vec<T>,
}
Expand description
A vector of items to be rooted with RootedVec
.
Guaranteed to be empty when not rooted.
Fields§
§v: Vec<T>
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