[−][src]Struct memory_units::wasm32::Words
Memory size specified in wasm32 words.
Trait Implementations
impl<T: Into<Bytes>> RoundUpTo<Words> for T[src]
impl<T: Into<Bytes>> RoundUpTo<Words> for Tfn round_up_to(self) -> Words[src]
fn round_up_to(self) -> WordsReturns minimum number of T to fit amount of space occupied by self.
impl ByteSize for Words[src]
impl ByteSize for Wordsimpl PartialEq<Words> for Words[src]
impl PartialEq<Words> for Wordsfn eq(&self, other: &Words) -> bool[src]
fn eq(&self, other: &Words) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Words) -> bool[src]
fn ne(&self, other: &Words) -> boolThis method tests for !=.
impl Eq for Words[src]
impl Eq for Wordsimpl Ord for Words[src]
impl Ord for Wordsfn cmp(&self, other: &Words) -> Ordering[src]
fn cmp(&self, other: &Words) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl PartialOrd<Words> for Words[src]
impl PartialOrd<Words> for Wordsfn partial_cmp(&self, other: &Words) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &Words) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Words) -> bool[src]
fn lt(&self, other: &Words) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Words) -> bool[src]
fn le(&self, other: &Words) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Words) -> bool[src]
fn gt(&self, other: &Words) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Words) -> bool[src]
fn ge(&self, other: &Words) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for Words[src]
impl Debug for Wordsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<T: Into<Self>> Div<T> for Words[src]
impl<T: Into<Self>> Div<T> for Wordstype Output = Self
The resulting type after applying the / operator.
fn div(self, rhs: T) -> Self[src]
fn div(self, rhs: T) -> SelfPerforms the / operation.
impl<T: Into<Self>> Add<T> for Words[src]
impl<T: Into<Self>> Add<T> for Wordstype Output = Self
The resulting type after applying the + operator.
fn add(self, rhs: T) -> Self[src]
fn add(self, rhs: T) -> SelfPerforms the + operation.
impl<T: Into<Self>> Sub<T> for Words[src]
impl<T: Into<Self>> Sub<T> for Wordstype Output = Self
The resulting type after applying the - operator.
fn sub(self, rhs: T) -> Self[src]
fn sub(self, rhs: T) -> SelfPerforms the - operation.
impl<T: Into<Self>> Mul<T> for Words[src]
impl<T: Into<Self>> Mul<T> for Wordstype Output = Self
The resulting type after applying the * operator.
fn mul(self, rhs: T) -> Self[src]
fn mul(self, rhs: T) -> SelfPerforms the * operation.
impl Copy for Words[src]
impl Copy for Wordsimpl From<Words> for Bytes[src]
impl From<Words> for Bytesimpl Clone for Words[src]
impl Clone for WordsAuto Trait Implementations
Blanket Implementations
impl<T> RoundUpTo for T where
T: Into<Bytes>, [src]
impl<T> RoundUpTo for T where
T: Into<Bytes>, fn round_up_to(Self) -> Bytes[src]
fn round_up_to(Self) -> BytesReturns minimum number of T to fit amount of space occupied by self.
impl<T> RoundUpTo for T where
T: Into<Bytes>, [src]
impl<T> RoundUpTo for T where
T: Into<Bytes>, fn round_up_to(Self) -> Words[src]
fn round_up_to(Self) -> WordsReturns minimum number of T to fit amount of space occupied by self.
impl<T> RoundUpTo for T where
T: Into<Bytes>, [src]
impl<T> RoundUpTo for T where
T: Into<Bytes>, fn round_up_to(Self) -> Pages[src]
fn round_up_to(Self) -> PagesReturns minimum number of T to fit amount of space occupied by self.
impl<T> RoundUpTo for T where
T: Into<Bytes>, [src]
impl<T> RoundUpTo for T where
T: Into<Bytes>, fn round_up_to(Self) -> Words[src]
fn round_up_to(Self) -> WordsReturns minimum number of T to fit amount of space occupied by self.
impl<T> RoundUpTo for T where
T: Into<Bytes>, [src]
impl<T> RoundUpTo for T where
T: Into<Bytes>, fn round_up_to(Self) -> Pages[src]
fn round_up_to(Self) -> PagesReturns minimum number of T to fit amount of space occupied by self.
impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more