Enum tea::buffer::BufferUsage
source · pub enum BufferUsage {
StaticRead,
StaticCopy,
StaticDraw,
StreamRead,
StreamCopy,
StreamDraw,
DynamicRead,
DynamicCopy,
DynamicDraw,
}Variants§
StaticRead
StaticCopy
StaticDraw
StreamRead
StreamCopy
StreamDraw
DynamicRead
DynamicCopy
DynamicDraw
Trait Implementations§
source§impl Clone for BufferUsage
impl Clone for BufferUsage
source§fn clone(&self) -> BufferUsage
fn clone(&self) -> BufferUsage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BufferUsage
impl Debug for BufferUsage
source§impl Default for BufferUsage
impl Default for BufferUsage
source§fn default() -> BufferUsage
fn default() -> BufferUsage
Returns the “default value” for a type. Read more
source§impl PartialEq<BufferUsage> for BufferUsage
impl PartialEq<BufferUsage> for BufferUsage
source§fn eq(&self, other: &BufferUsage) -> bool
fn eq(&self, other: &BufferUsage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<BufferUsage> for BufferUsage
impl PartialOrd<BufferUsage> for BufferUsage
source§fn partial_cmp(&self, other: &BufferUsage) -> Option<Ordering>
fn partial_cmp(&self, other: &BufferUsage) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for BufferUsage
impl Eq for BufferUsage
impl StructuralEq for BufferUsage
impl StructuralPartialEq for BufferUsage
Auto Trait Implementations§
impl RefUnwindSafe for BufferUsage
impl Send for BufferUsage
impl Sync for BufferUsage
impl Unpin for BufferUsage
impl UnwindSafe for BufferUsage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more