#[repr(C)]pub struct io_stream {Show 31 fields
pub bufp: *mut c_char,
pub limitp: *mut c_char,
pub buffer: *mut c_char,
pub unbuffer: *mut c_char,
pub lastc: c_int,
pub magic: c_int,
pub bufsize: c_int,
pub flags: c_uint,
pub posbuf: IOPOS,
pub position: *mut IOPOS,
pub handle: *mut c_void,
pub functions: *mut IOFUNCTIONS,
pub timeout: c_int,
pub encoding: IOENC,
pub locks: c_int,
pub references: c_int,
pub mutex: *mut IOLOCK,
pub close_hook: Option<unsafe extern "C" fn(closure: *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: c_int,
pub message: *mut c_char,
pub exception: *mut c_void,
pub context: *mut c_void,
pub locale: *mut PL_locale,
pub reserved: [isize; 4],
}
Fields§
§bufp: *mut c_char
§limitp: *mut c_char
§buffer: *mut c_char
§unbuffer: *mut c_char
§lastc: c_int
§magic: c_int
§bufsize: c_int
§flags: c_uint
§posbuf: IOPOS
§position: *mut IOPOS
§handle: *mut c_void
§functions: *mut IOFUNCTIONS
§timeout: c_int
§encoding: IOENC
§locks: c_int
§references: c_int
§mutex: *mut IOLOCK
§close_hook: Option<unsafe extern "C" fn(closure: *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: c_int
§message: *mut c_char
§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