pub struct References<'a> { /* private fields */ }
Implementations§
Source§impl<'a> References<'a>
impl<'a> References<'a>
pub fn new(inner: &'a mut Vec<DynIntrospectable>) -> Self
pub fn add<T: Introspectable + ?Sized>(&mut self)
pub fn add_dyn(&mut self, ty: DynIntrospectable)
pub fn reserve(&mut self, additional: usize)
Trait Implementations§
Source§impl<'a> Debug for References<'a>
impl<'a> Debug for References<'a>
Source§impl Extend<DynIntrospectable> for References<'_>
impl Extend<DynIntrospectable> for References<'_>
Source§fn extend<T>(&mut self, iter: T)where
T: IntoIterator<Item = DynIntrospectable>,
fn extend<T>(&mut self, iter: T)where
T: IntoIterator<Item = DynIntrospectable>,
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Auto Trait Implementations§
impl<'a> Freeze for References<'a>
impl<'a> RefUnwindSafe for References<'a>
impl<'a> Send for References<'a>
impl<'a> Sync for References<'a>
impl<'a> Unpin for References<'a>
impl<'a> !UnwindSafe for References<'a>
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