Struct phper::values::Val[][src]

#[repr(transparent)]
pub struct Val { /* fields omitted */ }
Expand description

Wrapper of crate::sys::zval.

Implementations

Only add refcount.

TODO Make a reference type to wrap self.

Call only when self is a callable.

Errors

Return Err when self is not callable.

Trait Implementations

Executes the destructor for this type. Read more

The method to free the heap allocated by emalloc, should call efree at the end.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.