Struct bcder::captured::CapturedBuilder
source · pub struct CapturedBuilder { /* private fields */ }
Implementations§
source§impl CapturedBuilder
impl CapturedBuilder
pub fn new(mode: Mode) -> Self
pub fn with_capacity(capacity: usize, mode: Mode) -> Self
sourcepub fn extend<V: Values>(&mut self, values: V)
pub fn extend<V: Values>(&mut self, values: V)
Extends the captured value by encoding the given values.
The function encodes the given values in the captured value’s own mode and places the encoded content at the end of the captured value.
pub fn freeze(self) -> Captured
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CapturedBuilder
impl Send for CapturedBuilder
impl Sync for CapturedBuilder
impl Unpin for CapturedBuilder
impl UnwindSafe for CapturedBuilder
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