Struct phper_sys::_php_stream
source · #[repr(C)]pub struct _php_stream {Show 23 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,
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: usize,
pub readpos: zend_off_t,
pub writepos: zend_off_t,
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
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§fgetss_state: u8
§mode: [c_char; 16]
§flags: u32
§res: *mut zend_resource
§stdiocast: *mut FILE
§orig_path: *mut c_char
§ctx: *mut zend_resource
§position: zend_off_t
§readbuf: *mut c_uchar
§readbuflen: usize
§readpos: zend_off_t
§writepos: zend_off_t
§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