Enum wasm_wrapper_gen_build::AccessStyle [] [src]

pub enum AccessStyle {
    TypedArrays,
    DataView,
}

Variants

Construct typed arrays in each function for use.

This has the disadvantage of more objects, but the advantage of being able to use TypedArray.set(), a function for setting the entire array to values provided. I have no idea if it's better at all, so profile your use case!

Construct a single DataView for the module and use its methods in each function to set individual values of arrays.

This is the default.

Trait Implementations

impl Copy for AccessStyle
[src]

impl Clone for AccessStyle
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AccessStyle
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for AccessStyle
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for AccessStyle
[src]

impl Default for AccessStyle
[src]

[src]

Returns the "default value" for a type. Read more