pub enum BufferType {
VertexBuffer,
IndexBuffer,
}
Variants
VertexBuffer
IndexBuffer
Trait Implementations
sourceimpl Clone for BufferType
impl Clone for BufferType
sourcefn clone(&self) -> BufferType
fn clone(&self) -> BufferType
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 more
sourceimpl Debug for BufferType
impl Debug for BufferType
sourceimpl PartialEq<BufferType> for BufferType
impl PartialEq<BufferType> for BufferType
sourcefn eq(&self, other: &BufferType) -> bool
fn eq(&self, other: &BufferType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for BufferType
impl StructuralPartialEq for BufferType
Auto Trait Implementations
impl RefUnwindSafe for BufferType
impl Send for BufferType
impl Sync for BufferType
impl Unpin for BufferType
impl UnwindSafe for BufferType
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