pub struct Nulls<T: Unit> { /* private fields */ }Expand description
New type wrapper for null elements that implements Length.
Trait Implementations§
source§impl<T: Unit> Extend<T> for Nulls<T>
impl<T: Unit> Extend<T> for Nulls<T>
source§fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
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
source§impl<T: Unit> FromIterator<T> for Nulls<T>
impl<T: Unit> FromIterator<T> for Nulls<T>
source§fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
Creates a value from an iterator. Read more
source§impl<T: Unit> Index for Nulls<T>
impl<T: Unit> Index for Nulls<T>
source§impl<T: Unit> IntoIterator for Nulls<T>
impl<T: Unit> IntoIterator for Nulls<T>
impl<T: Copy + Unit> Copy for Nulls<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Nulls<T>
impl<T> Send for Nulls<T>
impl<T> Sync for Nulls<T>
impl<T> Unpin for Nulls<T>
impl<T> UnwindSafe for Nulls<T>
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