#[repr(C)]pub struct __file {
pub unget: __ungetc_t,
pub flags: __uint8_t,
pub put: Option<unsafe extern "C" fn(arg1: c_char, arg2: *mut __file) -> c_int>,
pub get: Option<unsafe extern "C" fn(arg1: *mut __file) -> c_int>,
pub flush: Option<unsafe extern "C" fn(arg1: *mut __file) -> c_int>,
}Fields§
§unget: __ungetc_t§flags: __uint8_t§put: Option<unsafe extern "C" fn(arg1: c_char, arg2: *mut __file) -> c_int>§get: Option<unsafe extern "C" fn(arg1: *mut __file) -> c_int>§flush: Option<unsafe extern "C" fn(arg1: *mut __file) -> c_int>Trait Implementations§
Source§impl Ord for __file
impl Ord for __file
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for __file
impl PartialOrd for __file
impl Copy for __file
impl Eq for __file
impl StructuralPartialEq for __file
Auto Trait Implementations§
impl Freeze for __file
impl RefUnwindSafe for __file
impl Send for __file
impl Sync for __file
impl Unpin for __file
impl UnsafeUnpin for __file
impl UnwindSafe for __file
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