pub struct Limits {
pub is64: bool,
pub min: u64,
pub max: Option<u64>,
}Expand description
Min/max limits used for tables/memories.
Fields§
§is64: boolWhether or not these limits are for 64-bit tables/memories or not.
min: u64The minimum number of units for this type.
max: Option<u64>An optional maximum number of units for this type.
Trait Implementations§
impl Copy for Limits
impl Eq for Limits
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnwindSafe for Limits
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