Struct memory_units::wasm32::Pages [] [src]

pub struct Pages(pub usize);

Memory size specified in WebAssembly memory pages.

Trait Implementations

impl Debug for Pages
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Pages
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Pages
[src]

impl PartialEq for Pages
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Pages
[src]

impl PartialOrd for Pages
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Pages
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl ByteSize for Pages
[src]

BYTE_SIZE: Bytes = Bytes(65536)

The size, in bytes, of a single unit of Self.

impl From<Pages> for Bytes
[src]

[src]

Performs the conversion.

impl<T: Into<Bytes>> RoundUpTo<Pages> for T
[src]

[src]

Returns minimum number of T to fit amount of space occupied by self.

impl<T: Into<Self>> Add<T> for Pages
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<T: Into<Self>> Sub<T> for Pages
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<T: Into<Self>> Mul<T> for Pages
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<T: Into<Self>> Div<T> for Pages
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

Auto Trait Implementations

impl Send for Pages

impl Sync for Pages