Enum wasm_wrapper_gen_build::AccessStyle
[−]
[src]
pub enum AccessStyle { TypedArrays, DataView, }
Variants
TypedArrays
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!
DataView
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]
fn clone(&self) -> AccessStyle
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AccessStyle
[src]
impl PartialEq for AccessStyle
[src]
fn eq(&self, __arg_0: &AccessStyle) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.