Type Alias zend_string

Source
pub type zend_string = _zend_string;

Aliased Type§

#[repr(C)]
pub 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.