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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more