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

Methods

impl Primitive
[src]

[src]

Get the rust name for a primitive type

Trait Implementations

impl Debug for Primitive
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for Primitive
[src]

impl Clone for Primitive
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Primitive
[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 Primitive
[src]

Auto Trait Implementations

impl Send for Primitive

impl Sync for Primitive