pub struct LineWrap {
pub line_len: usize,
pub line_ending: LineEnding,
}Expand description
Base64 line wrapping policy.
line_len is measured in encoded Base64 bytes, not source input bytes.
Encoders insert line endings between lines and do not append a trailing line
ending after the final line.
Fields§
§line_len: usizeMaximum encoded bytes per line.
line_ending: LineEndingLine ending inserted between wrapped lines.
Implementations§
Trait Implementations§
impl Copy for LineWrap
impl Eq for LineWrap
impl StructuralPartialEq for LineWrap
Auto Trait Implementations§
impl Freeze for LineWrap
impl RefUnwindSafe for LineWrap
impl Send for LineWrap
impl Sync for LineWrap
impl Unpin for LineWrap
impl UnsafeUnpin for LineWrap
impl UnwindSafe for LineWrap
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