[][src]Struct azul_core::gl::TextureFlags

pub struct TextureFlags {
    pub is_opaque: bool,
    pub is_video_texture: bool,
}

Fields

is_opaque: bool

Whether this texture contains an alpha component

is_video_texture: bool

Optimization: use the compositor instead of OpenGL for energy optimization

Trait Implementations

impl Clone for TextureFlags[src]

impl Copy for TextureFlags[src]

impl Debug for TextureFlags[src]

impl Eq for TextureFlags[src]

impl Hash for TextureFlags[src]

impl Ord for TextureFlags[src]

impl PartialEq<TextureFlags> for TextureFlags[src]

impl PartialOrd<TextureFlags> for TextureFlags[src]

impl StructuralEq for TextureFlags[src]

impl StructuralPartialEq for TextureFlags[src]

Auto Trait Implementations

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.