Enum webgl_generator::Primitive
[−]
[src]
pub enum Primitive { Bool, I8, U8, I16, U16, I32, U32, I64, U64, F32, F64, }
The different kinds of primitive types supported by WebIDL These are named according to their equivalents in rust.
Variants
Bool
I8
U8
I16
U16
I32
U32
I64
U64
F32
F64
Methods
impl Primitive
[src]
Trait Implementations
impl Debug for Primitive
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for Primitive
[src]
impl Clone for Primitive
[src]
fn clone(&self) -> Primitive
[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 PartialEq for Primitive
[src]
fn eq(&self, __arg_0: &Primitive) -> 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 !=
.