[][src]Struct screen_13::gpu::Texture

pub struct Texture<I> where
    I: AsRef<<_Backend as Backend>::Image>, 
{ /* fields omitted */ }

A generic structure which can hold an N dimensional GPU texture.

Implementations

impl Texture<Image<U2>>[src]

pub fn dims(&self) -> Extent[src]

Gets the dimensions, in pixels, of this Texture.

Trait Implementations

impl<I> AsMut<<Backend as Backend>::Image> for Texture<I> where
    I: AsMut<<_Backend as Backend>::Image> + AsRef<<_Backend as Backend>::Image>, 
[src]

impl<I> AsRef<<Backend as Backend>::Image> for Texture<I> where
    I: AsRef<<_Backend as Backend>::Image>, 
[src]

impl<I> Debug for Texture<I> where
    I: AsRef<<_Backend as Backend>::Image>, 
[src]

impl<I> Drop for Texture<I> where
    I: AsRef<<_Backend as Backend>::Image>, 
[src]

Auto Trait Implementations

impl<I> !RefUnwindSafe for Texture<I>[src]

impl<I> !Send for Texture<I>[src]

impl<I> !Sync for Texture<I>[src]

impl<I> Unpin for Texture<I> where
    I: Unpin
[src]

impl<I> !UnwindSafe for Texture<I>[src]

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> Pointable for T

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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.