pub struct DumpFormatOptions { /* private fields */ }Implementations§
Source§impl DumpFormatOptions
impl DumpFormatOptions
pub fn classic_hex_dump() -> Self
pub fn ascii_hex_dump() -> Self
pub fn hex_dump() -> Self
pub fn octal_dump() -> Self
pub fn binary_dump() -> Self
pub fn decimal_dump() -> Self
pub fn lower_hex_dump() -> Self
Sourcepub fn with_byte_radix_format(self, radix_format: RadixFormat) -> Self
pub fn with_byte_radix_format(self, radix_format: RadixFormat) -> Self
Sets the radix format for each byte in the array to be one of the values of the enum
RadixFormat.
Sourcepub fn with_binary_bytes(self) -> Self
pub fn with_binary_bytes(self) -> Self
Sets the radix format for each byte in the array to RadixFormat::Binary.
Sourcepub fn with_decimal_bytes(self) -> Self
pub fn with_decimal_bytes(self) -> Self
Sets the radix format for each byte in the array to RadixFormat::Decimal.
Sourcepub fn with_lower_hex_bytes(self) -> Self
pub fn with_lower_hex_bytes(self) -> Self
Sets the radix format for each byte in the array to RadixFormat::LowerHex.
Sourcepub fn with_octal_bytes(self) -> Self
pub fn with_octal_bytes(self) -> Self
Sets the radix format for each byte in the array to RadixFormat::Octal.
Sourcepub fn with_upper_hex_bytes(self) -> Self
pub fn with_upper_hex_bytes(self) -> Self
Sets the radix format for each byte in the array to RadixFormat::UpperHex.
pub fn has_index_header_line(self, header_line: bool) -> Self
pub fn underline_column_index_with(self, underline: char) -> Self
pub fn no_column_index_underline(self) -> Self
pub fn separate_columns_with(self, column_separator: char) -> Self
pub fn has_index_line_numbers(self, line_numbers: bool) -> Self
Sourcepub fn with_index_radix_format(self, index_radix_format: RadixFormat) -> Self
pub fn with_index_radix_format(self, index_radix_format: RadixFormat) -> Self
Sets the radix format for line and column indices to be one of the values
of the enum RadixFormat.
Sourcepub fn with_decimal_indices(self) -> Self
pub fn with_decimal_indices(self) -> Self
Sets the radix format for line and column indices to RadixFormat::Decimal.
Sourcepub fn with_lower_hex_indices(self) -> Self
pub fn with_lower_hex_indices(self) -> Self
Sets the radix format for line and column indices to RadixFormat::LowerHex.
Sourcepub fn with_octal_indices(self) -> Self
pub fn with_octal_indices(self) -> Self
Sets the radix format for line and column indices to RadixFormat::Octal.
Sourcepub fn with_upper_hex_indices(self) -> Self
pub fn with_upper_hex_indices(self) -> Self
Sets the radix format for line and column indices to RadixFormat::UpperHex.