pub struct Undef {
pub len: usize,
}Expand description
An AsPooled initializer for Vec<T>.
Creates or modifies an existing array to be the specified length, without specifying the contents of the returned array.
This lack of specification means that existing Vecs that are modified to be the
configured length will contain values from a previous run.
Fields§
§len: usizeImplementations§
Trait Implementations§
impl Copy for Undef
Auto Trait Implementations§
impl Freeze for Undef
impl RefUnwindSafe for Undef
impl Send for Undef
impl Sync for Undef
impl Unpin for Undef
impl UnsafeUnpin for Undef
impl UnwindSafe for Undef
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more