Struct gfx_device_gl::ResourceView[][src]

pub struct ResourceView { /* fields omitted */ }

Implementations

impl ResourceView[src]

pub fn new_texture(t: Texture, kind: Kind) -> ResourceView[src]

pub fn new_texture_owned(t: Texture, kind: Kind) -> ResourceView[src]

pub fn new_buffer(b: Texture) -> ResourceView[src]

pub fn gl_texture(&self) -> Texture[src]

Trait Implementations

impl Clone for ResourceView[src]

impl Copy for ResourceView[src]

impl Debug for ResourceView[src]

impl Eq for ResourceView[src]

impl Hash for ResourceView[src]

impl PartialEq<ResourceView> for ResourceView[src]

impl StructuralEq for ResourceView[src]

impl StructuralPartialEq for ResourceView[src]

Auto Trait Implementations

impl RefUnwindSafe for ResourceView

impl Send for ResourceView

impl Sync for ResourceView

impl Unpin for ResourceView

impl UnwindSafe for ResourceView

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.