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

pub trait Cast<T> {
    type CastTo;
    pub fn cast(self) -> Self::CastTo;
}

Associated Types

type CastTo[src]

Loading content...

Required methods

pub fn cast(self) -> Self::CastTo[src]

Loading content...

Implementors

impl<T> Cast<T> for Buffer<u8>[src]

type CastTo = Buffer<T>

impl<T> Cast<T> for BufferStorage<u8>[src]

type CastTo = BufferStorage<T>

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

type CastTo = SharedBuffer<T>

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

impl<T, B> Cast<T> for Range<u8, B, B> where
    B: Cast<T> + TypedBuffer<u8>, 
[src]

type CastTo = Range<T, <B as Cast<T>>::CastTo, <B as Cast<T>>::CastTo>

Loading content...