#[repr(C)]pub struct hFILE {
pub buffer: *mut i8,
pub begin: *mut i8,
pub end: *mut i8,
pub limit: *mut i8,
pub backend: *const hFILE_backend,
pub offset: i32,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub has_errno: i32,
}
Fields§
§buffer: *mut i8
§begin: *mut i8
§end: *mut i8
§limit: *mut i8
§backend: *const hFILE_backend
§offset: i32
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§has_errno: i32
Implementations§
Source§impl hFILE
impl hFILE
pub fn at_eof(&self) -> u32
pub fn set_at_eof(&mut self, val: u32)
pub fn mobile(&self) -> u32
pub fn set_mobile(&mut self, val: u32)
pub fn readonly(&self) -> u32
pub fn set_readonly(&mut self, val: u32)
pub fn preserve(&self) -> u32
pub fn set_preserve(&mut self, val: u32)
pub fn new_bitfield_1( at_eof: u32, mobile: u32, readonly: u32, preserve: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for hFILE
impl RefUnwindSafe for hFILE
impl !Send for hFILE
impl !Sync for hFILE
impl Unpin 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