Struct ext_php_rs::describe::Method
source · [−]#[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: Str
docs: DocBlock
ty: MethodType
params: Vec<Parameter>
retval: Option<Retval>
_static: bool
visibility: Visibility
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Method
impl !Send for Method
impl !Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more