Enum webgl_generator::TypeKind
source · pub enum TypeKind {
Primitive(Primitive),
String,
ArrayBuffer,
ArrayBufferView,
BufferSource,
CanvasElement,
TypedArray(Primitive),
Sequence(Box<Type>),
Union(Vec<Type>),
Named(String),
Any,
Object,
}
Expand description
The definition of a type
Variants
Primitive(Primitive)
String
ArrayBuffer
ArrayBufferView
BufferSource
CanvasElement
TypedArray(Primitive)
Sequence(Box<Type>)
Union(Vec<Type>)
Named(String)
Any
Object
Implementations
Trait Implementations
impl Eq for TypeKind
impl StructuralEq for TypeKind
impl StructuralPartialEq for TypeKind
Auto Trait Implementations
impl RefUnwindSafe for TypeKind
impl Send for TypeKind
impl Sync for TypeKind
impl Unpin for TypeKind
impl UnwindSafe for TypeKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more