#[repr(C)]pub struct io_stream {Show 31 fields
pub bufp: *mut i8,
pub limitp: *mut i8,
pub buffer: *mut i8,
pub unbuffer: *mut i8,
pub lastc: i32,
pub magic: i32,
pub bufsize: i32,
pub flags: u32,
pub posbuf: io_position,
pub position: *mut io_position,
pub handle: *mut c_void,
pub functions: *mut io_functions,
pub timeout: i32,
pub encoding: u32,
pub locks: i32,
pub references: i32,
pub mutex: *mut recursiveMutex,
pub close_hook: Option<unsafe extern "C" fn(_: *mut c_void)>,
pub closure: *mut c_void,
pub mbstate: *mut __mbstate_t,
pub tee: *mut io_stream,
pub upstream: *mut io_stream,
pub downstream: *mut io_stream,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub io_errno: i32,
pub message: *mut i8,
pub exception: *mut c_void,
pub context: *mut c_void,
pub locale: *mut PL_locale,
pub reserved: [isize; 4],
}
Fields§
§bufp: *mut i8
§limitp: *mut i8
§buffer: *mut i8
§unbuffer: *mut i8
§lastc: i32
§magic: i32
§bufsize: i32
§flags: u32
§posbuf: io_position
§position: *mut io_position
§handle: *mut c_void
§functions: *mut io_functions
§timeout: i32
§encoding: u32
§locks: i32
§references: i32
§mutex: *mut recursiveMutex
§close_hook: Option<unsafe extern "C" fn(_: *mut c_void)>
§closure: *mut c_void
§mbstate: *mut __mbstate_t
§tee: *mut io_stream
§upstream: *mut io_stream
§downstream: *mut io_stream
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§io_errno: i32
§message: *mut i8
§exception: *mut c_void
§context: *mut c_void
§locale: *mut PL_locale
§reserved: [isize; 4]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for io_stream
impl !Send for io_stream
impl !Sync for io_stream
impl Unpin for io_stream
impl UnwindSafe for io_stream
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more