pub struct HexStyles {
pub null_char: Style,
pub printable: Style,
pub whitespace: Style,
pub ascii_other: Style,
pub non_ascii: Style,
}Expand description
Style parameters for hexdump. These styles will be applied both to the hex representation and the corresponding ASCII character (or placeholder, for non-printable bytes).
Fields§
§null_char: StyleStyle for null bytes (\0).
printable: StyleStyle for non-whitespace printable ASCII characters.
whitespace: StyleStyle for whitespace printable ASCII characters.
ascii_other: StyleStyle for other ASCII characters (e.g. control characters).
non_ascii: StyleStyle for non-ASCII characters (i.e. 0x80..).
Trait Implementations§
impl Copy for HexStyles
Auto Trait Implementations§
impl Freeze for HexStyles
impl RefUnwindSafe for HexStyles
impl Send for HexStyles
impl Sync for HexStyles
impl Unpin for HexStyles
impl UnsafeUnpin for HexStyles
impl UnwindSafe for HexStyles
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