Enum webgl_generator::Primitive
source · pub enum Primitive {
Bool,
I8,
U8,
I16,
U16,
I32,
U32,
I64,
U64,
F32,
F64,
}
Expand description
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
Implementations
Trait Implementations
impl Copy for Primitive
impl Eq for Primitive
impl StructuralEq for Primitive
impl StructuralPartialEq for Primitive
Auto Trait Implementations
impl RefUnwindSafe for Primitive
impl Send for Primitive
impl Sync for Primitive
impl Unpin for Primitive
impl UnwindSafe for Primitive
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