Type Alias phper_sys::php_stream
source · pub type php_stream = _php_stream;
Aliased Type§
struct php_stream {Show 22 fields
pub ops: *const _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_struct,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub mode: [i8; 16],
pub flags: u32,
pub res: *mut _zend_resource,
pub stdiocast: *mut _IO_FILE,
pub orig_path: *mut i8,
pub ctx: *mut _zend_resource,
pub position: i64,
pub readbuf: *mut u8,
pub readbuflen: usize,
pub readpos: i64,
pub writepos: i64,
pub chunk_size: usize,
pub enclosing_stream: *mut _php_stream,
}
Fields§
§ops: *const _php_stream_ops
§abstract_: *mut c_void
§readfilters: _php_stream_filter_chain
§writefilters: _php_stream_filter_chain
§wrapper: *mut _php_stream_wrapper
§wrapperthis: *mut c_void
§wrapperdata: _zval_struct
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§mode: [i8; 16]
§flags: u32
§res: *mut _zend_resource
§stdiocast: *mut _IO_FILE
§orig_path: *mut i8
§ctx: *mut _zend_resource
§position: i64
§readbuf: *mut u8
§readbuflen: usize
§readpos: i64
§writepos: i64
§chunk_size: usize
§enclosing_stream: *mut _php_stream
Implementations
source§impl _php_stream
impl _php_stream
pub fn is_persistent(&self) -> u8
pub fn set_is_persistent(&mut self, val: u8)
pub fn in_free(&self) -> u8
pub fn set_in_free(&mut self, val: u8)
pub fn eof(&self) -> u8
pub fn set_eof(&mut self, val: u8)
pub fn __exposed(&self) -> u8
pub fn set___exposed(&mut self, val: u8)
pub fn fclose_stdiocast(&self) -> u8
pub fn set_fclose_stdiocast(&mut self, val: u8)
pub fn new_bitfield_1( is_persistent: u8, in_free: u8, eof: u8, __exposed: u8, fclose_stdiocast: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations
source§impl Clone for _php_stream
impl Clone for _php_stream
source§fn clone(&self) -> _php_stream
fn clone(&self) -> _php_stream
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more