pub struct ZFunc { /* private fields */ }
Expand description
Wrapper of zend_function
.
Implementations§
Source§impl ZFunc
impl ZFunc
Sourcepub const fn as_ptr(&self) -> *const zend_function
pub const fn as_ptr(&self) -> *const zend_function
Returns a raw pointer wrapped.
Sourcepub fn as_mut_ptr(&mut self) -> *mut zend_function
pub fn as_mut_ptr(&mut self) -> *mut zend_function
Returns a raw pointer wrapped.
Sourcepub fn get_function_name(&self) -> Option<&ZStr>
pub fn get_function_name(&self) -> Option<&ZStr>
Get the function name if exists.
Sourcepub fn get_function_or_method_name(&self) -> ZString
pub fn get_function_or_method_name(&self) -> ZString
Get the function or method fully-qualified name.
Sourcepub fn get_class(&self) -> Option<&ClassEntry>
pub fn get_class(&self) -> Option<&ClassEntry>
Get the function related class if exists.
Auto Trait Implementations§
impl Freeze for ZFunc
impl RefUnwindSafe for ZFunc
impl !Send for ZFunc
impl !Sync for ZFunc
impl Unpin for ZFunc
impl UnwindSafe for ZFunc
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