Struct php_all_sys::php72::_php_stream[][src]

#[repr(C)]pub struct _php_stream {
    pub ops: *mut php_stream_ops,
    pub abstract_: *mut c_void,
    pub readfilters: php_stream_filter_chain,
    pub writefilters: php_stream_filter_chain,
    pub wrapper: *mut php_stream_wrapper,
    pub wrapperthis: *mut c_void,
    pub wrapperdata: zval,
    pub _bitfield_align_1: [u8; 0],
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
    pub fgetss_state: u8,
    pub mode: [c_char; 16],
    pub flags: u32,
    pub res: *mut zend_resource,
    pub stdiocast: *mut FILE,
    pub orig_path: *mut c_char,
    pub ctx: *mut zend_resource,
    pub position: zend_off_t,
    pub readbuf: *mut c_uchar,
    pub readbuflen: size_t,
    pub readpos: zend_off_t,
    pub writepos: zend_off_t,
    pub chunk_size: size_t,
    pub enclosing_stream: *mut _php_stream,
}

Fields

ops: *mut php_stream_opsabstract_: *mut c_voidreadfilters: php_stream_filter_chainwritefilters: php_stream_filter_chainwrapper: *mut php_stream_wrapperwrapperthis: *mut c_voidwrapperdata: zval_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>fgetss_state: u8mode: [c_char; 16]flags: u32res: *mut zend_resourcestdiocast: *mut FILEorig_path: *mut c_charctx: *mut zend_resourceposition: zend_off_treadbuf: *mut c_ucharreadbuflen: size_treadpos: zend_off_twritepos: zend_off_tchunk_size: size_tenclosing_stream: *mut _php_stream

Implementations

impl _php_stream[src]

pub fn is_persistent(&self) -> u8[src]

pub fn set_is_persistent(&mut self, val: u8)[src]

pub fn in_free(&self) -> u8[src]

pub fn set_in_free(&mut self, val: u8)[src]

pub fn eof(&self) -> u8[src]

pub fn set_eof(&mut self, val: u8)[src]

pub fn __exposed(&self) -> u8[src]

pub fn set___exposed(&mut self, val: u8)[src]

pub fn fclose_stdiocast(&self) -> u8[src]

pub fn set_fclose_stdiocast(&mut self, val: u8)[src]

pub fn new_bitfield_1(
    is_persistent: u8,
    in_free: u8,
    eof: u8,
    __exposed: u8,
    fclose_stdiocast: u8
) -> __BindgenBitfieldUnit<[u8; 1]>
[src]

Trait Implementations

impl Clone for _php_stream[src]

impl Copy for _php_stream[src]

Auto Trait Implementations

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.