Struct ext_php_rs::ffi::_php_stream_wrapper
source · #[repr(C)]pub struct _php_stream_wrapper {
pub wops: *const php_stream_wrapper_ops,
pub abstract_: *mut c_void,
pub is_url: c_int,
}
Fields§
§wops: *const php_stream_wrapper_ops
§abstract_: *mut c_void
§is_url: c_int
Implementations§
source§impl _php_stream_wrapper
impl _php_stream_wrapper
pub fn get(name: &str) -> Option<&Self>
pub fn get_mut(name: &str) -> Option<&mut Self>
pub fn register(self, name: &str) -> Result<Self, Error>
pub fn register_volatile(self, name: &str) -> Result<Self, Error>
pub fn unregister(name: &str) -> Result<(), Error>
pub fn unregister_volatile(name: &str) -> Result<(), Error>
pub fn wops(&self) -> &php_stream_wrapper_ops
pub fn wops_mut(&mut self) -> &mut php_stream_wrapper_ops
Trait Implementations§
source§impl Clone for _php_stream_wrapper
impl Clone for _php_stream_wrapper
source§fn clone(&self) -> _php_stream_wrapper
fn clone(&self) -> _php_stream_wrapper
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 moresource§impl Debug for _php_stream_wrapper
impl Debug for _php_stream_wrapper
impl Copy for _php_stream_wrapper
Auto Trait Implementations§
impl RefUnwindSafe for _php_stream_wrapper
impl !Send for _php_stream_wrapper
impl !Sync for _php_stream_wrapper
impl Unpin for _php_stream_wrapper
impl UnwindSafe for _php_stream_wrapper
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more