pub struct Config {
pub cols: usize,
pub offs: usize,
}
Expand description
Hex dumper configuration context.
Fields§
§cols: usize
Number of columns in hex dump. Defaults to 16.
offs: usize
A base offset. Defaults to 0. If it’s useful to display the addresses of a dumped buffer, this can be set to the initial address of the buffer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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