Struct tea::buffer::ArrayBuffer
source · pub struct ArrayBuffer(_);Implementations§
source§impl ArrayBuffer
impl ArrayBuffer
Trait Implementations§
source§impl Debug for ArrayBuffer
impl Debug for ArrayBuffer
source§impl Default for ArrayBuffer
impl Default for ArrayBuffer
source§fn default() -> ArrayBuffer
fn default() -> ArrayBuffer
Returns the “default value” for a type. Read more
source§impl Drop for ArrayBuffer
impl Drop for ArrayBuffer
source§impl GlBuffer for ArrayBuffer
impl GlBuffer for ArrayBuffer
fn data<T: Sized>(&self, data: &Vec<T>, usage: BufferUsage)
fn subdata<T: Sized>(&self, offset: isize, count: usize, data: &Vec<T>)
fn bind_read(&self)
fn bind_write(&self)
fn copy(&self, read_offset: isize, write_offset: isize, size: isize)
fn copy_from( &self, other: impl GlBuffer, read_offset: isize, write_offset: isize, size: isize )
fn is_binded(&self) -> bool
source§impl GlTarget for ArrayBuffer
impl GlTarget for ArrayBuffer
source§impl Ord for ArrayBuffer
impl Ord for ArrayBuffer
source§fn cmp(&self, other: &ArrayBuffer) -> Ordering
fn cmp(&self, other: &ArrayBuffer) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq<ArrayBuffer> for ArrayBuffer
impl PartialEq<ArrayBuffer> for ArrayBuffer
source§fn eq(&self, other: &ArrayBuffer) -> bool
fn eq(&self, other: &ArrayBuffer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ArrayBuffer> for ArrayBuffer
impl PartialOrd<ArrayBuffer> for ArrayBuffer
source§fn partial_cmp(&self, other: &ArrayBuffer) -> Option<Ordering>
fn partial_cmp(&self, other: &ArrayBuffer) -> 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 Eq for ArrayBuffer
impl StructuralEq for ArrayBuffer
impl StructuralPartialEq for ArrayBuffer
Auto Trait Implementations§
impl RefUnwindSafe for ArrayBuffer
impl Send for ArrayBuffer
impl Sync for ArrayBuffer
impl Unpin for ArrayBuffer
impl UnwindSafe for ArrayBuffer
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