Struct rin::gl::buffer_object::Range[][src]

pub struct Range<T, B, BB> { /* fields omitted */ }

A view into a portion of a buffer which can be used as a buffer itself

Methods

impl<T, B, BB> Range<T, B, BB> where
    BB: Borrow<B>,
    T: 'static, 
[src]

impl<T, B, BB> Range<T, B, BB> where
    B: TypedBufferObject<T>,
    BB: Borrow<B>,
    T: 'static, 
[src]

impl<T, B, BB> Range<T, B, BB> where
    B: MapRange<T>,
    BB: Borrow<B>,
    T: 'static, 
[src]

impl<T, B, BB> Range<T, B, BB> where
    B: MapRangeMut<T>,
    BB: BorrowMut<B>,
    T: 'static, 
[src]

impl<T, B, BB> Range<T, B, BB> where
    B: TypedBufferObject<T> + WithBackend<T> + MapRange<T>,
    BB: Clone + Borrow<B>,
    T: 'static, 
[src]

impl<T, B, BB> Range<T, B, BB> where
    B: TypedBufferObject<T> + WithBackend<T>,
    BB: Borrow<B>,
    T: 'static, 
[src]

impl<T, B, BB> Range<T, B, BB> where
    B: BufferRangeMut<T> + WithBackendMut<T>,
    BB: BorrowMut<B>,
    T: 'static, 
[src]

Trait Implementations

impl<T, B, BB> BufferRangeMut<T> for Range<T, B, BB> where
    B: BufferRangeMut<T> + WithBackend<T> + WithBackendMut<T> + MapRange<T>,
    BB: BorrowMut<B>,
    T: 'static, 
[src]

impl<T, B, BB> BufferRange<T> for Range<T, B, BB> where
    B: TypedBufferObject<T> + WithBackend<T> + MapRange<T>,
    BB: Borrow<B>,
    T: 'static, 
[src]

impl<'a, T, B, BB> TypedBufferObjectMut<T> for Range<T, B, BB> where
    B: TypedBufferObject<T> + WithBackend<T> + MapRangeMut<T>,
    BB: BorrowMut<B>,
    T: 'static, 
[src]

Maps a buffer object's data store Read more

Maps a buffer object's data store Read more

impl<T, B, BB> TypedBufferObject<T> for Range<T, B, BB> where
    B: TypedBufferObject<T> + WithBackend<T> + MapRange<T>,
    BB: Borrow<B>,
    T: 'static, 
[src]

OpenGL id

Number of elements on the last update

Allocated capacity of the buffer in number of elements

Maps a buffer object's data store Read more

Copy one buffer into another

Total bytes on the last update

Total capcacity of the buffer in bytes

Stride of the buffer type

impl<T, B, BB> Clone for Range<T, B, BB> where
    B: Clone,
    BB: Clone,
    T: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T, B, BB> Debug for Range<T, B, BB> where
    B: Debug,
    BB: Debug,
    T: Debug
[src]

Formats the value using the given formatter. Read more

impl<T, B, BB> Eq for Range<T, B, BB> where
    B: Eq,
    BB: Eq,
    T: Eq
[src]

impl<T, B, BB> PartialEq<Range<T, B, BB>> for Range<T, B, BB> where
    B: PartialEq<B>,
    BB: PartialEq<BB>,
    T: PartialEq<T>, 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<T, B, BB> Send for Range<T, B, BB> where
    B: Send,
    BB: Send,
    T: Send

impl<T, B, BB> Sync for Range<T, B, BB> where
    B: Sync,
    BB: Sync,
    T: Sync