Struct data_encoding::Wrap
[−]
[src]
pub struct Wrap {
pub width: usize,
pub separator: String,
}How to wrap the output when encoding
See Specification for more information.
Fields
width: usize
Wrapping width
Must be a multiple of:
- 8 for a bit-width of 1 (binary), 3 (octal), and 5 (base32)
- 4 for a bit-width of 2 (base4) and 6 (base64)
- 2 for a bit-width of 4 (hexadecimal)
Wrapping is disabled if null.
separator: String
Wrapping characters
Wrapping is disabled if empty.
Trait Implementations
impl Debug for Wrap[src]
impl Clone for Wrap[src]
fn clone(&self) -> Wrap
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more