Enum uni_gl::BufferKind
source · [−]pub enum BufferKind {
Array,
ElementArray,
}
Expand description
Passed to bindBuffer or bufferData to specify the type of buffer being used.
Variants
Array
to store vertex attributes
ElementArray
to store vertex array indices
Trait Implementations
sourceimpl Clone for BufferKind
impl Clone for BufferKind
sourcefn clone(&self) -> BufferKind
fn clone(&self) -> BufferKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BufferKind
impl Debug for BufferKind
impl Copy for BufferKind
Auto Trait Implementations
impl RefUnwindSafe for BufferKind
impl Send for BufferKind
impl Sync for BufferKind
impl Unpin for BufferKind
impl UnwindSafe for BufferKind
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