[][src]Struct jl_sys::ios_t

#[repr(C)]pub struct ios_t {
    pub buf: *mut c_char,
    pub errcode: c_int,
    pub _pad_bm: c_int,
    pub bm: bufmode_t,
    pub state: bufstate_t,
    pub maxsize: i64,
    pub size: i64,
    pub bpos: i64,
    pub ndirty: i64,
    pub fpos: i64,
    pub lineno: usize,
    pub u_colno: usize,
    pub fd: c_long,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub userdata: i64,
    pub local: [c_char; 54],
}

Fields

buf: *mut c_charerrcode: c_int_pad_bm: c_intbm: bufmode_tstate: bufstate_tmaxsize: i64size: i64bpos: i64ndirty: i64fpos: i64lineno: usizeu_colno: usizefd: c_long_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>userdata: i64local: [c_char; 54]

Implementations

impl ios_t[src]

pub fn readable(&self) -> c_uchar[src]

pub fn set_readable(&mut self, val: c_uchar)[src]

pub fn writable(&self) -> c_uchar[src]

pub fn set_writable(&mut self, val: c_uchar)[src]

pub fn ownbuf(&self) -> c_uchar[src]

pub fn set_ownbuf(&mut self, val: c_uchar)[src]

pub fn ownfd(&self) -> c_uchar[src]

pub fn set_ownfd(&mut self, val: c_uchar)[src]

pub fn _eof(&self) -> c_uchar[src]

pub fn set__eof(&mut self, val: c_uchar)[src]

pub fn rereadable(&self) -> c_uchar[src]

pub fn set_rereadable(&mut self, val: c_uchar)[src]

pub fn new_bitfield_1(
    readable: c_uchar,
    writable: c_uchar,
    ownbuf: c_uchar,
    ownfd: c_uchar,
    _eof: c_uchar,
    rereadable: c_uchar
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ios_t[src]

impl Copy for ios_t[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.