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]
R: InputRange,
Implementors
impl<'_, T> BufferRange<T> for &'_ SharedBufferStorage<T> where
T: 'static,
[src]
impl<'_, T> BufferRange<T> for &'_ SharedBufferStorage<T> where
T: 'static,
[src]pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn into_range<R>(
self,
range: R
) -> Range<T, &'_ SharedBufferStorage<T>, &'_ SharedBufferStorage<T>> where
R: InputRange,
&'_ SharedBufferStorage<T>: Sized,
[src]
self,
range: R
) -> Range<T, &'_ SharedBufferStorage<T>, &'_ SharedBufferStorage<T>> where
R: InputRange,
&'_ SharedBufferStorage<T>: Sized,
impl<'a, '_, T> BufferRange<T> for &'_ Buffer<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 &'_ BufferStorage<T> where
T: 'static,
[src]pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn into_range<R>(
self,
range: R
) -> Range<T, &'_ BufferStorage<T>, &'_ BufferStorage<T>> where
R: InputRange,
&'_ BufferStorage<T>: Sized,
[src]
self,
range: R
) -> Range<T, &'_ BufferStorage<T>, &'_ BufferStorage<T>> where
R: InputRange,
&'_ BufferStorage<T>: Sized,
impl<'a, '_, T> BufferRange<T> for &'_ SharedBuffer<T> where
T: 'static,
[src]
impl<'a, '_, T> BufferRange<T> for &'_ SharedBuffer<T> where
T: 'static,
[src]pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn into_range<R>(
self,
range: R
) -> Range<T, &'_ SharedBuffer<T>, &'_ SharedBuffer<T>> where
R: InputRange,
&'_ SharedBuffer<T>: Sized,
[src]
self,
range: R
) -> Range<T, &'_ SharedBuffer<T>, &'_ SharedBuffer<T>> where
R: InputRange,
&'_ SharedBuffer<T>: Sized,
impl<'a, T> BufferRange<T> for Buffer<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 BufferStorage<T> where
T: 'static,
[src]pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn into_range<R>(
self,
range: R
) -> Range<T, BufferStorage<T>, BufferStorage<T>> where
R: InputRange,
BufferStorage<T>: Sized,
[src]
self,
range: R
) -> Range<T, BufferStorage<T>, BufferStorage<T>> where
R: InputRange,
BufferStorage<T>: Sized,
impl<T> BufferRange<T> for SharedBuffer<T> where
T: 'static,
[src]
impl<T> BufferRange<T> for SharedBuffer<T> where
T: 'static,
[src]pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn into_range<R>(
self,
range: R
) -> Range<T, SharedBuffer<T>, SharedBuffer<T>> where
R: InputRange,
SharedBuffer<T>: Sized,
[src]
self,
range: R
) -> Range<T, SharedBuffer<T>, SharedBuffer<T>> where
R: InputRange,
SharedBuffer<T>: Sized,
impl<T> BufferRange<T> for SharedBufferStorage<T> where
T: 'static,
[src]
impl<T> BufferRange<T> for SharedBufferStorage<T> where
T: 'static,
[src]pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn into_range<R>(
self,
range: R
) -> Range<T, SharedBufferStorage<T>, SharedBufferStorage<T>> where
R: InputRange,
SharedBufferStorage<T>: Sized,
[src]
self,
range: R
) -> Range<T, SharedBufferStorage<T>, SharedBufferStorage<T>> where
R: InputRange,
SharedBufferStorage<T>: Sized,
impl<T, B, BB> BufferRange<T> for Range<T, B, BB> where
B: TypedBuffer<T> + WithMapRange<T> + WithBackend,
T: 'static,
BB: Borrow<B>,
[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]