Struct glin::fbo::TextureLevelRef[][src]

pub struct TextureLevelRef<T> { /* fields omitted */ }

Implementations

impl<T: Borrow<Texture>> TextureLevelRef<T>[src]

pub fn new(texture: T, level: i32) -> TextureLevelRef<T>[src]

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

pub fn level(&self) -> i32[src]

Trait Implementations

impl<'a, T: Borrow<Texture>> BorrowColorAttach for &'a TextureLevelRef<T>[src]

impl<'a, T: Borrow<Texture>> BorrowDepthAttach for &'a TextureLevelRef<T>[src]

impl<T: Clone> Clone for TextureLevelRef<T>[src]

impl<T: Borrow<Texture>> ColorAttach for TextureLevelRef<T>[src]

impl<T: Borrow<Texture>> DepthAttach for TextureLevelRef<T>[src]

impl<T: Copy> Copy for TextureLevelRef<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for TextureLevelRef<T> where
    T: RefUnwindSafe

impl<T> Send for TextureLevelRef<T> where
    T: Send

impl<T> Sync for TextureLevelRef<T> where
    T: Sync

impl<T> Unpin for TextureLevelRef<T> where
    T: Unpin

impl<T> UnwindSafe for TextureLevelRef<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[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[src]

type Init = T

The type for initializers.

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.