pub struct Limits {
pub min: u32,
pub max: Option<u32>,
}
Fields§
§min: u32
§max: Option<u32>
Trait Implementations§
source§impl PartialEq for Limits
impl PartialEq for Limits
source§impl WasmReadable for Limits
impl WasmReadable for Limits
source§fn read(wasm: &mut WasmReader<'_>) -> Result<Self>
fn read(wasm: &mut WasmReader<'_>) -> Result<Self>
source§fn read_unvalidated(wasm: &mut WasmReader<'_>) -> Self
fn read_unvalidated(wasm: &mut WasmReader<'_>) -> Self
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