pub struct TypedArray<'a, T> { /* private fields */ }
Expand description
Writer for an array of items of a fixed type.
Implementations§
source§impl<'a, T> TypedArray<'a, T>
impl<'a, T> TypedArray<'a, T>
sourcepub fn items(&mut self, values: impl IntoIterator<Item = T>) -> &mut Selfwhere
T: Primitive,
pub fn items(&mut self, values: impl IntoIterator<Item = T>) -> &mut Selfwhere
T: Primitive,
Write a sequence of items.
Trait Implementations§
source§impl<'a, 'any, T> Rewrite<'a> for TypedArray<'any, T>
impl<'a, 'any, T> Rewrite<'a> for TypedArray<'any, T>
source§type Output = TypedArray<'a, T>
type Output = TypedArray<'a, T>
The writer with the rewritten lifetime.
Auto Trait Implementations§
impl<'a, T> Freeze for TypedArray<'a, T>
impl<'a, T> RefUnwindSafe for TypedArray<'a, T>
impl<'a, T> Send for TypedArray<'a, T>
impl<'a, T> Sync for TypedArray<'a, T>
impl<'a, T> Unpin for TypedArray<'a, T>
impl<'a, T> !UnwindSafe for TypedArray<'a, 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