Enum webgl_generator::TypeKind [] [src]

pub enum TypeKind {
    Primitive(Primitive),
    String,
    ArrayBuffer,
    ArrayBufferView,
    BufferSource,
    CanvasElement,
    TypedArray(Primitive),
    Sequence(Box<Type>),
    Union(Vec<Type>),
    Named(String),
    Any,
    Object,
}

The definition of a type

Variants

Methods

impl TypeKind
[src]

[src]

Look through type aliases to find the "real" definition of a type. Also returns the "original name" if applicable.

Trait Implementations

impl Debug for TypeKind
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for TypeKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

impl Send for TypeKind

impl Sync for TypeKind