pub struct BytesVecBuilder(/* private fields */);Implementations§
Source§impl BytesVecBuilder
impl BytesVecBuilder
pub fn set(self, v: Vec<Bytes>) -> BytesVecBuilder
pub fn push<T>(self, v: T) -> BytesVecBuilder
pub fn extend<T>(self, iter: T) -> BytesVecBuilderwhere
T: IntoIterator<Item = Bytes>,
pub fn replace<T>(&mut self, index: usize, v: T) -> Option<Bytes>
Trait Implementations§
Source§impl Builder for BytesVecBuilder
impl Builder for BytesVecBuilder
Source§impl Clone for BytesVecBuilder
impl Clone for BytesVecBuilder
Source§fn clone(&self) -> BytesVecBuilder
fn clone(&self) -> BytesVecBuilder
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BytesVecBuilder
impl Debug for BytesVecBuilder
Source§impl Default for BytesVecBuilder
impl Default for BytesVecBuilder
Source§fn default() -> BytesVecBuilder
fn default() -> BytesVecBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BytesVecBuilder
impl RefUnwindSafe for BytesVecBuilder
impl Send for BytesVecBuilder
impl Sync for BytesVecBuilder
impl Unpin for BytesVecBuilder
impl UnwindSafe for BytesVecBuilder
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)