Struct bcder::captured::CapturedBuilder
source · [−]pub struct CapturedBuilder { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more