Trait glin::BufferRange[][src]

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

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

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

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

Loading content...

Implementors

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<'a, T: 'static> BufferRange<T> for Buffer<T>[src]

impl<T: 'static> BufferRange<T> for &SharedBufferStorage<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, B: TypedBuffer<T> + WithMapRange<T> + WithBackend, BB: Borrow<B>> BufferRange<T> for Range<T, B, BB>[src]

Loading content...