Struct cat_engine_basement::graphics::level1::VertexBuffer[][src]

pub struct VertexBuffer<V: Sized> { /* fields omitted */ }

Implementations

Creates and initializes a buffer object’s data store.

Returns GLError::NoError if no error has accured.

Returns GLError::InvalidOperation if the reserved buffer object name 0 is bound to target.

Returns GLError::OutOfMemory if the GL is unable to create a data store with the specified size.

Panics if data is empty.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.