#[repr(C)]pub struct hFILE {
pub buffer: *mut c_char,
pub begin: *mut c_char,
pub end: *mut c_char,
pub limit: *mut c_char,
pub backend: *const hFILE_backend,
pub offset: off_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub has_errno: c_int,
}Fields§
§buffer: *mut c_char§begin: *mut c_char§end: *mut c_char§limit: *mut c_char§backend: *const hFILE_backend§offset: off_t§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§has_errno: c_intImplementations§
Source§impl hFILE
impl hFILE
pub fn at_eof(&self) -> c_uint
pub fn set_at_eof(&mut self, val: c_uint)
pub unsafe fn at_eof_raw(this: *const Self) -> c_uint
pub unsafe fn set_at_eof_raw(this: *mut Self, val: c_uint)
pub fn mobile(&self) -> c_uint
pub fn set_mobile(&mut self, val: c_uint)
pub unsafe fn mobile_raw(this: *const Self) -> c_uint
pub unsafe fn set_mobile_raw(this: *mut Self, val: c_uint)
pub fn readonly(&self) -> c_uint
pub fn set_readonly(&mut self, val: c_uint)
pub unsafe fn readonly_raw(this: *const Self) -> c_uint
pub unsafe fn set_readonly_raw(this: *mut Self, val: c_uint)
pub fn preserve(&self) -> c_uint
pub fn set_preserve(&mut self, val: c_uint)
pub unsafe fn preserve_raw(this: *const Self) -> c_uint
pub unsafe fn set_preserve_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( at_eof: c_uint, mobile: c_uint, readonly: c_uint, preserve: c_uint, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Auto Trait Implementations§
impl !Send for hFILE
impl !Sync for hFILE
impl Freeze for hFILE
impl RefUnwindSafe for hFILE
impl Unpin for hFILE
impl UnsafeUnpin for hFILE
impl UnwindSafe for hFILE
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