[][src]Trait glin::BufferRange

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

A view into a portion of a buffer object

Required Methods

Implementors

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

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

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

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

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

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

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

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

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