Struct ext_php_rs::describe::Method[][src]

#[repr(C)]
pub struct Method { pub name: Str, pub docs: DocBlock, pub ty: MethodType, pub params: Vec<Parameter>, pub retval: Option<Retval>, pub _static: bool, pub visibility: Visibility, }
Expand description

Represents a method attached to an exported class.

Fields

name: Strdocs: DocBlockty: MethodTypeparams: Vec<Parameter>retval: Option<Retval>_static: boolvisibility: Visibility

Trait Implementations

Converts the implementor into PHP code, represented as a PHP stub. Read more

Converts the implementor into PHP code, represented as a PHP stub. Returned as a string. Read more

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.