Trait rin::gl::buffer::BufferRange[][src]

pub trait BufferRange<T>: TypedBuffer<T> {
    pub fn start(&self) -> usize;
pub fn end(&self) -> usize;
pub fn into_range<R>(self, range: R) -> Range<T, Self, Self>
    where
        R: InputRange
; }

A view into a portion of a buffer object

Required methods

pub fn start(&self) -> usize[src]

pub fn end(&self) -> usize[src]

pub fn into_range<R>(self, range: R) -> Range<T, Self, Self> where
    R: InputRange
[src]

Loading content...

Implementors

impl<'_, T> BufferRange<T> for &'_ SharedBufferStorage<T> where
    T: 'static, 
[src]

impl<'a, '_, T> BufferRange<T> for &'_ Buffer<T> where
    T: 'static, 
[src]

impl<'a, '_, T> BufferRange<T> for &'_ BufferStorage<T> where
    T: 'static, 
[src]

impl<'a, '_, T> BufferRange<T> for &'_ SharedBuffer<T> where
    T: 'static, 
[src]

impl<'a, T> BufferRange<T> for Buffer<T> where
    T: 'static, 
[src]

impl<T> BufferRange<T> for BufferStorage<T> where
    T: 'static, 
[src]

impl<T> BufferRange<T> for SharedBuffer<T> where
    T: 'static, 
[src]

impl<T> BufferRange<T> for SharedBufferStorage<T> where
    T: 'static, 
[src]

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

Loading content...