#[repr(C)]pub struct __file_ext {
pub cfile: __file_close,
pub seek: Option<unsafe extern "C" fn(arg1: *mut __file, offset: __off_t, whence: c_int) -> __off_t>,
pub setvbuf: Option<unsafe extern "C" fn(arg1: *mut __file, buf: *mut c_char, mode: c_int, size: usize) -> c_int>,
}Fields§
§cfile: __file_close§seek: Option<unsafe extern "C" fn(arg1: *mut __file, offset: __off_t, whence: c_int) -> __off_t>§setvbuf: Option<unsafe extern "C" fn(arg1: *mut __file, buf: *mut c_char, mode: c_int, size: usize) -> c_int>Trait Implementations§
Source§impl Clone for __file_ext
impl Clone for __file_ext
Source§fn clone(&self) -> __file_ext
fn clone(&self) -> __file_ext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for __file_ext
impl Debug for __file_ext
Source§impl Default for __file_ext
impl Default for __file_ext
Source§fn default() -> __file_ext
fn default() -> __file_ext
Returns the “default value” for a type. Read more
Source§impl Hash for __file_ext
impl Hash for __file_ext
Source§impl Ord for __file_ext
impl Ord for __file_ext
Source§fn cmp(&self, other: &__file_ext) -> Ordering
fn cmp(&self, other: &__file_ext) -> Ordering
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 PartialEq for __file_ext
impl PartialEq for __file_ext
Source§fn eq(&self, other: &__file_ext) -> bool
fn eq(&self, other: &__file_ext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for __file_ext
impl PartialOrd for __file_ext
impl Copy for __file_ext
impl Eq for __file_ext
impl StructuralPartialEq for __file_ext
Auto Trait Implementations§
impl Freeze for __file_ext
impl RefUnwindSafe for __file_ext
impl Send for __file_ext
impl Sync for __file_ext
impl Unpin for __file_ext
impl UnsafeUnpin for __file_ext
impl UnwindSafe for __file_ext
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