#[repr(C)]pub struct ios_t {}Fields§
§buf: *mut c_char§errcode: c_int§_pad_bm: c_int§bm: bufmode_t§state: bufstate_t§maxsize: i64§size: i64§bpos: i64§ndirty: i64§fpos: i64§lineno: usize§fd: c_long§_bitfield_1: u8§userdata: i64§local: [c_char; 54]Implementations§
Source§impl ios_t
impl ios_t
pub fn readable(&self) -> c_uchar
pub fn set_readable(&mut self, val: c_uchar)
pub fn writable(&self) -> c_uchar
pub fn set_writable(&mut self, val: c_uchar)
pub fn ownbuf(&self) -> c_uchar
pub fn set_ownbuf(&mut self, val: c_uchar)
pub fn ownfd(&self) -> c_uchar
pub fn set_ownfd(&mut self, val: c_uchar)
pub fn _eof(&self) -> c_uchar
pub fn set__eof(&mut self, val: c_uchar)
pub fn rereadable(&self) -> c_uchar
pub fn set_rereadable(&mut self, val: c_uchar)
pub fn new_bitfield_1( readable: c_uchar, writable: c_uchar, ownbuf: c_uchar, ownfd: c_uchar, _eof: c_uchar, rereadable: c_uchar, ) -> u8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ios_t
impl RefUnwindSafe for ios_t
impl !Send for ios_t
impl !Sync for ios_t
impl Unpin for ios_t
impl UnwindSafe for ios_t
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