Struct libktx_rs::sources::StreamSource[][src]

pub struct StreamSource<'a, T: RWSeekable + ?Sized + 'a> { /* fields omitted */ }
Expand description

TextureSource for reading a texture from a RustKtxStream.

Implementations

Creates a new stream texture source from the given RustKtxStream and texture creation flags.

Destroys self, giving back the inner RustKtxStream that was passed on construction.

Trait Implementations

Formats the value using the given formatter. Read more

Attempts to create a new texture by consuming self.

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.