Enum azul_webrender_api::ExternalImageSource[][src]

pub enum ExternalImageSource<'a> {
    RawData(&'a [u8]),
    NativeTexture(u32),
    Invalid,
}
Expand description

The source for an external image.

Variants

RawData(&'a [u8])

A raw pixel buffer.

NativeTexture(u32)

A gl::GLuint texture handle.

Invalid

An invalid source.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.