[][src]Struct wasmer_runtime_c_api::wasmer_limits_t

#[repr(C)]pub struct wasmer_limits_t {
    pub min: u32,
    pub max: wasmer_limit_option_t,
}

The wasmer_limits_t struct is a type that describes a memory options. See the wasmer_memory_t struct or the wasmer_memory_new() function to get more information.

Fields

min: u32

The minimum number of allowed pages.

max: wasmer_limit_option_t

The maximum number of allowed pages.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.