#[repr(C)]
pub struct Stream { pub Read: Option<unsafe extern "C" fn(s: *mut Stream, data: *mut cc_uint8, count: cc_uint32, modified: *mut cc_uint32) -> cc_result>, pub ReadU8: Option<unsafe extern "C" fn(s: *mut Stream, data: *mut cc_uint8) -> cc_result>, pub Write: Option<unsafe extern "C" fn(s: *mut Stream, data: *const cc_uint8, count: cc_uint32, modified: *mut cc_uint32) -> cc_result>, pub Skip: Option<unsafe extern "C" fn(s: *mut Stream, count: cc_uint32) -> cc_result>, pub Seek: Option<unsafe extern "C" fn(s: *mut Stream, position: cc_uint32) -> cc_result>, pub Position: Option<unsafe extern "C" fn(s: *mut Stream, position: *mut cc_uint32) -> cc_result>, pub Length: Option<unsafe extern "C" fn(s: *mut Stream, length: *mut cc_uint32) -> cc_result>, pub Close: Option<unsafe extern "C" fn(s: *mut Stream) -> cc_result>, pub Meta: Stream__bindgen_ty_1, }

Fields

Read: Option<unsafe extern "C" fn(s: *mut Stream, data: *mut cc_uint8, count: cc_uint32, modified: *mut cc_uint32) -> cc_result>ReadU8: Option<unsafe extern "C" fn(s: *mut Stream, data: *mut cc_uint8) -> cc_result>Write: Option<unsafe extern "C" fn(s: *mut Stream, data: *const cc_uint8, count: cc_uint32, modified: *mut cc_uint32) -> cc_result>Skip: Option<unsafe extern "C" fn(s: *mut Stream, count: cc_uint32) -> cc_result>Seek: Option<unsafe extern "C" fn(s: *mut Stream, position: cc_uint32) -> cc_result>Position: Option<unsafe extern "C" fn(s: *mut Stream, position: *mut cc_uint32) -> cc_result>Length: Option<unsafe extern "C" fn(s: *mut Stream, length: *mut cc_uint32) -> cc_result>Close: Option<unsafe extern "C" fn(s: *mut Stream) -> cc_result>Meta: Stream__bindgen_ty_1

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.