Type Alias pq_sys::FILE

source ·
pub type FILE = __sFILE;

Aliased Type§

struct FILE {
Show 20 fields pub _p: *mut u8, pub _r: i32, pub _w: i32, pub _flags: i16, pub _file: i16, pub _bf: __sbuf, pub _lbfsize: i32, pub _cookie: *mut c_void, pub _close: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>, pub _read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: i32) -> i32>, pub _seek: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>, pub _write: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: i32) -> i32>, pub _ub: __sbuf, pub _extra: *mut __sFILEX, pub _ur: i32, pub _ubuf: [u8; 3], pub _nbuf: [u8; 1], pub _lb: __sbuf, pub _blksize: i32, pub _offset: i64,
}

Fields§

§_p: *mut u8§_r: i32§_w: i32§_flags: i16§_file: i16§_bf: __sbuf§_lbfsize: i32§_cookie: *mut c_void§_close: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>§_read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i8, _: i32) -> i32>§_seek: Option<unsafe extern "C" fn(_: *mut c_void, _: i64, _: i32) -> i64>§_write: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: i32) -> i32>§_ub: __sbuf§_extra: *mut __sFILEX§_ur: i32§_ubuf: [u8; 3]§_nbuf: [u8; 1]§_lb: __sbuf§_blksize: i32§_offset: i64

Trait Implementations§

source§

impl Clone for __sFILE

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for __sFILE

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for __sFILE