Struct base64::display::Base64Display
source · [−]pub struct Base64Display<'a> { /* private fields */ }
Expand description
A convenience wrapper for base64’ing bytes into a format string without heap allocation.
Implementations
sourceimpl<'a> Base64Display<'a>
impl<'a> Base64Display<'a>
sourcepub fn with_config(bytes: &[u8], config: Config) -> Base64Display<'_>
pub fn with_config(bytes: &[u8], config: Config) -> Base64Display<'_>
Create a Base64Display
with the provided config.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Base64Display<'a>
impl<'a> Send for Base64Display<'a>
impl<'a> Sync for Base64Display<'a>
impl<'a> Unpin for Base64Display<'a>
impl<'a> UnwindSafe for Base64Display<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more