Struct gfx::handle::Texture[][src]

pub struct Texture<R, S>(_, _)
where
    R: Resources
;

Typed texture object

Implementations

impl<R, S> Texture<R, S> where
    R: Resources
[src]

pub fn get_info(&self) -> &Info[src]

Get texture descriptor

Trait Implementations

impl<R, T> Clone for Texture<R, T> where
    R: Resources
[src]

impl<R, T> Debug for Texture<R, T> where
    R: Resources
[src]

impl<R, T> Eq for Texture<R, T> where
    R: Resources
[src]

impl<R, T> Hash for Texture<R, T> where
    R: Resources
[src]

impl<R, T> PartialEq<Texture<R, T>> for Texture<R, T> where
    R: Resources
[src]

Auto Trait Implementations

impl<R, S> RefUnwindSafe for Texture<R, S> where
    S: RefUnwindSafe,
    <R as Resources>::Texture: RefUnwindSafe

impl<R, S> Send for Texture<R, S> where
    S: Send

impl<R, S> Sync for Texture<R, S> where
    S: Sync

impl<R, S> Unpin for Texture<R, S> where
    S: Unpin

impl<R, S> UnwindSafe for Texture<R, S> where
    S: UnwindSafe,
    <R as Resources>::Texture: RefUnwindSafe

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.