Struct libktx_rs::stream::RustKtxStream[][src]

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

A Rust-based ktxStream, for reading from / writing to RWSeekables.

Implementations

Attempts to create a new Rust-based ktxStream, wrapping the given inner RWSeekable.

Returns a handle to the underlying ktxStream.

Safety

The returned handle is only for interaction with the C API. Do not modify this in any way if not absolutely necessary!

Returns a reference to the inner RWSeekable.

Returns a mutable reference to the inner RWSeekable.

Destroys self, giving back the boxed RWSeekable that was passed to Self::new.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

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.