Enum ic_stable_structures::storable::Bound
source · pub enum Bound {
Unbounded,
Bounded {
max_size: u32,
is_fixed_size: bool,
},
}
Expand description
States whether the type’s size is bounded or unbounded.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Bound
impl PartialEq for Bound
impl StructuralPartialEq for Bound
Auto Trait Implementations§
impl Freeze for Bound
impl RefUnwindSafe for Bound
impl Send for Bound
impl Sync for Bound
impl Unpin for Bound
impl UnwindSafe for Bound
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