struct LineWrapper {
remaining: usize,
width: usize,
ending: LineEnding,
}Expand description
Helper for wrapping Base64 at a given line width.
Fields§
§remaining: usizeNumber of bytes remaining in the current line.
width: usizeColumn at which Base64 should be wrapped.
ending: LineEndingNewline characters to use at the end of each line.
Implementations§
Source§impl LineWrapper
impl LineWrapper
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LineWrapper
impl RefUnwindSafe for LineWrapper
impl Send for LineWrapper
impl Sync for LineWrapper
impl Unpin for LineWrapper
impl UnwindSafe for LineWrapper
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