pub trait BlockSizeSpec:
Copy
+ Clone
+ Debug
+ Eq
+ PartialEq {
// Required methods
fn size(self) -> u64;
fn mask(self) -> u64;
fn shift(self) -> u32;
}Expand description
Defines the block size specification for use with GenericBlockSize. Only block sizes which
are a power of 2 are supported.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".