Struct libktx_rs_sys::ktxStream [−][src]
#[repr(C)]pub struct ktxStream { pub read: ktxStream_read, pub skip: ktxStream_skip, pub write: ktxStream_write, pub getpos: ktxStream_getpos, pub setpos: ktxStream_setpos, pub getsize: ktxStream_getsize, pub destruct: ktxStream_destruct, pub type_: streamType, pub data: ktxStream__bindgen_ty_1, pub readpos: ktx_off_t, pub closeOnDestruct: ktx_bool_t, }
Expand description
@~English
@brief Interface of ktxStream.
@author Maksim Kolesin @author Georg Kolling, Imagination Technology @author Mark Callow, HI Corporation
Fields
read: ktxStream_read< @internal pointer to function for reading bytes.
skip: ktxStream_skip< @internal pointer to function for skipping bytes.
write: ktxStream_write< @internal pointer to function for writing bytes.
getpos: ktxStream_getpos< @internal pointer to function for getting current position in stream.
setpos: ktxStream_setpos< @internal pointer to function for setting current position in stream.
getsize: ktxStream_getsize< @internal pointer to function for querying size.
destruct: ktxStream_destruct< @internal destruct the stream.
type_: streamTypedata: ktxStream__bindgen_ty_1< @internal pointer to the stream data.
readpos: ktx_off_t< @internal used by FileStream for stdin.
closeOnDestruct: ktx_bool_t< @internal Close FILE* or dispose of memory on destruct.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ktxStreamimpl UnwindSafe for ktxStreamBlanket Implementations
Mutably borrows from an owned value. Read more