pub trait Offset {
// Required method
fn offset(&self, second: &Self) -> usize;
}
Available on crate feature
mtls
only.Expand description
Useful functions to calculate the offset between slices and show a hexdump of a slice
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.