Struct ext_php_rs::ffi::_zend_resource
source · #[repr(C)]pub struct _zend_resource {
pub gc: zend_refcounted_h,
pub handle: zend_long,
pub type_: c_int,
pub ptr: *mut c_void,
}
Fields§
§gc: zend_refcounted_h
§handle: zend_long
§type_: c_int
§ptr: *mut c_void
Trait Implementations§
source§impl Clone for _zend_resource
impl Clone for _zend_resource
source§fn clone(&self) -> _zend_resource
fn clone(&self) -> _zend_resource
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 moreimpl Copy for _zend_resource
Auto Trait Implementations§
impl RefUnwindSafe for _zend_resource
impl !Send for _zend_resource
impl !Sync for _zend_resource
impl Unpin for _zend_resource
impl UnwindSafe for _zend_resource
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