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: 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: *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: size_t
readpos: zend_off_t
writepos: zend_off_t
chunk_size: size_t
enclosing_stream: *mut _php_stream
Implementations
sourceimpl _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
sourceimpl Clone for _php_stream
impl Clone for _php_stream
sourcefn clone(&self) -> _php_stream
fn clone(&self) -> _php_stream
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for _php_stream
Auto Trait Implementations
impl RefUnwindSafe for _php_stream
impl !Send for _php_stream
impl !Sync for _php_stream
impl Unpin for _php_stream
impl UnwindSafe for _php_stream
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more