pub struct AppendOnlyView<'v, T> { /* private fields */ }Expand description
Implementations§
Source§impl<'v, T> AppendOnlyView<'v, T>
impl<'v, T> AppendOnlyView<'v, T>
Source§impl<'v, T: Clone> AppendOnlyView<'v, T>
impl<'v, T: Clone> AppendOnlyView<'v, T>
pub fn extend_from_slice(&mut self, other: &[T])
Trait Implementations§
Source§impl<'v, T> Extend<T> for AppendOnlyView<'v, T>
impl<'v, T> Extend<T> for AppendOnlyView<'v, 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<'v, T> Write for AppendOnlyView<'v, T>
impl<'v, T> Write for AppendOnlyView<'v, T>
Source§fn write(&mut self, buf: &[u8]) -> Result<usize>
fn write(&mut self, buf: &[u8]) -> Result<usize>
Writes a buffer into this writer, returning how many bytes were written. Read more
Source§fn write_all(&mut self, buf: &[u8]) -> Result<()>
fn write_all(&mut self, buf: &[u8]) -> Result<()>
Attempts to write an entire buffer into this writer. Read more
Source§fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<()>
fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<()>
Writes a formatted string into this writer, returning any error
encountered. Read more
Source§fn flush(&mut self) -> Result<()>
fn flush(&mut self) -> Result<()>
Flushes this output stream, ensuring that all intermediately buffered
contents reach their destination. Read more
Source§fn is_write_vectored(&self) -> bool
fn is_write_vectored(&self) -> bool
🔬This is a nightly-only experimental API. (
can_vector)Auto Trait Implementations§
impl<'v, T> Freeze for AppendOnlyView<'v, T>
impl<'v, T> RefUnwindSafe for AppendOnlyView<'v, T>where
T: RefUnwindSafe,
impl<'v, T> Send for AppendOnlyView<'v, T>where
T: Send,
impl<'v, T> Sync for AppendOnlyView<'v, T>where
T: Sync,
impl<'v, T> Unpin for AppendOnlyView<'v, T>
impl<'v, T> UnsafeUnpin for AppendOnlyView<'v, T>
impl<'v, T> !UnwindSafe for AppendOnlyView<'v, 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