#[repr(C)]pub struct Struct___sFILE {Show 20 fields
pub _p: *mut c_uchar,
pub _r: c_int,
pub _w: c_int,
pub _flags: c_short,
pub _file: c_short,
pub _bf: Struct___sbuf,
pub _lbfsize: c_int,
pub _cookie: *mut c_void,
pub _close: Option<extern "C" fn(arg1: *mut c_void) -> c_int>,
pub _read: Option<extern "C" fn(arg1: *mut c_void, arg2: *mut c_char, arg3: c_int) -> c_int>,
pub _seek: Option<extern "C" fn(arg1: *mut c_void, arg2: fpos_t, arg3: c_int) -> fpos_t>,
pub _write: Option<extern "C" fn(arg1: *mut c_void, arg2: *const c_char, arg3: c_int) -> c_int>,
pub _ub: Struct___sbuf,
pub _extra: *mut Struct___sFILEX,
pub _ur: c_int,
pub _ubuf: [c_uchar; 3],
pub _nbuf: [c_uchar; 1],
pub _lb: Struct___sbuf,
pub _blksize: c_int,
pub _offset: fpos_t,
}
Fields§
§_p: *mut c_uchar
§_r: c_int
§_w: c_int
§_flags: c_short
§_file: c_short
§_bf: Struct___sbuf
§_lbfsize: c_int
§_close: Option<extern "C" fn(arg1: *mut c_void) -> c_int>
§_read: Option<extern "C" fn(arg1: *mut c_void, arg2: *mut c_char, arg3: c_int) -> c_int>
§_seek: Option<extern "C" fn(arg1: *mut c_void, arg2: fpos_t, arg3: c_int) -> fpos_t>
§_write: Option<extern "C" fn(arg1: *mut c_void, arg2: *const c_char, arg3: c_int) -> c_int>
§_ub: Struct___sbuf
§_extra: *mut Struct___sFILEX
§_ur: c_int
§_ubuf: [c_uchar; 3]
§_nbuf: [c_uchar; 1]
§_lb: Struct___sbuf
§_blksize: c_int
§_offset: fpos_t
Trait Implementations§
Source§impl Default for Struct___sFILE
impl Default for Struct___sFILE
Source§fn default() -> Struct___sFILE
fn default() -> Struct___sFILE
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Struct___sFILE
impl RefUnwindSafe for Struct___sFILE
impl !Send for Struct___sFILE
impl !Sync for Struct___sFILE
impl Unpin for Struct___sFILE
impl UnwindSafe for Struct___sFILE
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