pub struct BytesOptVecBuilder(/* private fields */);Implementations§
Source§impl BytesOptVecBuilder
impl BytesOptVecBuilder
pub fn set(self, v: Vec<BytesOpt>) -> BytesOptVecBuilder
pub fn push<T>(self, v: T) -> BytesOptVecBuilder
pub fn extend<T>(self, iter: T) -> BytesOptVecBuilderwhere
T: IntoIterator<Item = BytesOpt>,
pub fn replace<T>(&mut self, index: usize, v: T) -> Option<BytesOpt>
Trait Implementations§
Source§impl Builder for BytesOptVecBuilder
impl Builder for BytesOptVecBuilder
Source§impl Clone for BytesOptVecBuilder
impl Clone for BytesOptVecBuilder
Source§fn clone(&self) -> BytesOptVecBuilder
fn clone(&self) -> BytesOptVecBuilder
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 BytesOptVecBuilder
impl Debug for BytesOptVecBuilder
Source§impl Default for BytesOptVecBuilder
impl Default for BytesOptVecBuilder
Source§fn default() -> BytesOptVecBuilder
fn default() -> BytesOptVecBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BytesOptVecBuilder
impl RefUnwindSafe for BytesOptVecBuilder
impl Send for BytesOptVecBuilder
impl Sync for BytesOptVecBuilder
impl Unpin for BytesOptVecBuilder
impl UnwindSafe for BytesOptVecBuilder
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)