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

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.

Wrapping characters

Wrapping is disabled if empty.

Trait Implementations

impl Debug for Wrap
[src]

[src]

Formats the value using the given formatter.

impl Clone for Wrap
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more