Struct phper_sys::_php_stream [−][src]
#[repr(C)]pub struct _php_stream {}Show 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_1: __BindgenBitfieldUnit<[u8; 1], u8>, 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_1: __BindgenBitfieldUnit<[u8; 1], u8>
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
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], u8>
[src]
is_persistent: u8,
in_free: u8,
eof: u8,
__exposed: u8,
fclose_stdiocast: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for _php_stream
[src]
fn clone(&self) -> _php_stream
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for _php_stream
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,