Enum gl_helpers::BufferTarget
source · pub enum BufferTarget {
Show 14 variants
Array,
AtomicCounter,
CopyRead,
CopyWrite,
DispatchIndirect,
DrawIndirect,
ElementArray,
PixelPack,
PixelUnpack,
Query,
ShaderStorage,
Texture,
TransformFeedback,
UniformKind,
}
Variants
Array
AtomicCounter
CopyRead
CopyWrite
DispatchIndirect
DrawIndirect
ElementArray
PixelPack
PixelUnpack
Query
ShaderStorage
Texture
TransformFeedback
UniformKind
Trait Implementations
sourceimpl Clone for BufferTarget
impl Clone for BufferTarget
sourcefn clone(&self) -> BufferTarget
fn clone(&self) -> BufferTarget
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 BufferTarget
impl Debug for BufferTarget
sourceimpl<'a> From<&'a BufferTarget> for GLenum
impl<'a> From<&'a BufferTarget> for GLenum
sourcefn from(buffer_target: &'a BufferTarget) -> Self
fn from(buffer_target: &'a BufferTarget) -> Self
Converts to this type from the input type.
sourceimpl From<BufferTarget> for GLenum
impl From<BufferTarget> for GLenum
sourcefn from(buffer_target: BufferTarget) -> Self
fn from(buffer_target: BufferTarget) -> Self
Converts to this type from the input type.
sourceimpl From<u32> for BufferTarget
impl From<u32> for BufferTarget
sourceimpl Hash for BufferTarget
impl Hash for BufferTarget
sourceimpl Ord for BufferTarget
impl Ord for BufferTarget
sourcefn cmp(&self, other: &BufferTarget) -> Ordering
fn cmp(&self, other: &BufferTarget) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<BufferTarget> for BufferTarget
impl PartialEq<BufferTarget> for BufferTarget
sourcefn eq(&self, other: &BufferTarget) -> bool
fn eq(&self, other: &BufferTarget) -> bool
sourceimpl PartialOrd<BufferTarget> for BufferTarget
impl PartialOrd<BufferTarget> for BufferTarget
sourcefn partial_cmp(&self, other: &BufferTarget) -> Option<Ordering>
fn partial_cmp(&self, other: &BufferTarget) -> Option<Ordering>
1.0.0 · sourcefn 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 BufferTarget
impl Eq for BufferTarget
impl StructuralEq for BufferTarget
impl StructuralPartialEq for BufferTarget
Auto Trait Implementations
impl RefUnwindSafe for BufferTarget
impl Send for BufferTarget
impl Sync for BufferTarget
impl Unpin for BufferTarget
impl UnwindSafe for BufferTarget
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