pub struct Bounds {
pub lower_bound: i64,
pub upper_bound: i64,
}Expand description
Inclusive [lower_bound, upper_bound] range for a CParameter,
the drop-in equivalent of C zstd’s ZSTD_bounds.
Fields§
§lower_bound: i64Smallest accepted value (inclusive).
upper_bound: i64Largest accepted value (inclusive).
Implementations§
Trait Implementations§
impl Copy for Bounds
impl Eq for Bounds
impl StructuralPartialEq for Bounds
Auto Trait Implementations§
impl Freeze for Bounds
impl RefUnwindSafe for Bounds
impl Send for Bounds
impl Sync for Bounds
impl Unpin for Bounds
impl UnsafeUnpin for Bounds
impl UnwindSafe for Bounds
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