Struct tea::buffer::ElementArrayBuffer
source · pub struct ElementArrayBuffer(_);Implementations§
Trait Implementations§
source§impl Debug for ElementArrayBuffer
impl Debug for ElementArrayBuffer
source§impl Default for ElementArrayBuffer
impl Default for ElementArrayBuffer
source§fn default() -> ElementArrayBuffer
fn default() -> ElementArrayBuffer
Returns the “default value” for a type. Read more
source§impl Drop for ElementArrayBuffer
impl Drop for ElementArrayBuffer
source§impl GlBuffer for ElementArrayBuffer
impl GlBuffer for ElementArrayBuffer
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 ElementArrayBuffer
impl GlTarget for ElementArrayBuffer
source§impl Ord for ElementArrayBuffer
impl Ord for ElementArrayBuffer
source§fn cmp(&self, other: &ElementArrayBuffer) -> Ordering
fn cmp(&self, other: &ElementArrayBuffer) -> 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<ElementArrayBuffer> for ElementArrayBuffer
impl PartialEq<ElementArrayBuffer> for ElementArrayBuffer
source§fn eq(&self, other: &ElementArrayBuffer) -> bool
fn eq(&self, other: &ElementArrayBuffer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ElementArrayBuffer> for ElementArrayBuffer
impl PartialOrd<ElementArrayBuffer> for ElementArrayBuffer
source§fn partial_cmp(&self, other: &ElementArrayBuffer) -> Option<Ordering>
fn partial_cmp(&self, other: &ElementArrayBuffer) -> 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 ElementArrayBuffer
impl StructuralEq for ElementArrayBuffer
impl StructuralPartialEq for ElementArrayBuffer
Auto Trait Implementations§
impl RefUnwindSafe for ElementArrayBuffer
impl Send for ElementArrayBuffer
impl Sync for ElementArrayBuffer
impl Unpin for ElementArrayBuffer
impl UnwindSafe for ElementArrayBuffer
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