pub struct SlabSize(/* private fields */);Expand description
A validated fixed exception slab size in bytes.
Implementations§
Trait Implementations§
impl Copy for SlabSize
impl Eq for SlabSize
Source§impl Ord for SlabSize
impl Ord for SlabSize
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SlabSize
impl PartialOrd for SlabSize
impl StructuralPartialEq for SlabSize
Auto Trait Implementations§
impl Freeze for SlabSize
impl RefUnwindSafe for SlabSize
impl Send for SlabSize
impl Sync for SlabSize
impl Unpin for SlabSize
impl UnsafeUnpin for SlabSize
impl UnwindSafe for SlabSize
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