pub trait Callables {
// Required methods
fn is_callable(&self, callable: &Value) -> bool;
fn call(&mut self, callable: &Value, value: &[u8]) -> Value;
}Expand description
The PHP callables FILTER_CALLBACK can call, named by its "options"
entry.
Required Methods§
Sourcefn is_callable(&self, callable: &Value) -> bool
fn is_callable(&self, callable: &Value) -> bool
zend_is_callable(): whether the entry names a callable.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".