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
§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.
§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