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§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.