Type Alias ext_php_rs::ffi::zend_string

source ·
pub type zend_string = _zend_string;

Aliased Type§

struct zend_string {
    pub gc: _zend_refcounted_h,
    pub h: u64,
    pub len: usize,
    pub val: [i8; 1],
}

Fields§

§gc: _zend_refcounted_h§h: u64§len: usize§val: [i8; 1]

Trait Implementations§

source§

impl PhpRc for zend_string

source§

fn get_rc(&self) -> &ZendRefcount

Returns an immutable reference to the corresponding refcount object.
source§

fn get_rc_mut(&mut self) -> &mut ZendRefcount

Returns a mutable reference to the corresponding refcount object.
source§

fn get_count(&self) -> u32

Returns the number of references to the object.
source§

fn inc_count(&mut self)

Increments the reference counter by 1.
source§

fn dec_count(&mut self)

Decrements the reference counter by 1.