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: VisibilityTrait 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§
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