[][src]Struct rgx::core::Texture

pub struct Texture {
    pub w: u32,
    pub h: u32,
    // some fields omitted
}

Texturing

Fields

w: u32h: u32

Methods

impl Texture[src]

pub const COLOR_FORMAT: TextureFormat[src]

pub fn rect(&self) -> Rect<f32>[src]

Trait Implementations

impl Canvas for Texture[src]

type Color = Rgba8

impl Bind for Texture[src]

impl From<Framebuffer> for Texture[src]

impl Debug for Texture[src]

Auto Trait Implementations

impl Send for Texture

impl Sync for Texture

impl Unpin for Texture

impl UnwindSafe for Texture

impl !RefUnwindSafe for Texture

Blanket Implementations

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

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

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

type Error = !

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.

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

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

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