Struct ext_php_rs::describe::Function
source · #[repr(C)]pub struct Function {
pub name: Str,
pub docs: DocBlock,
pub ret: Option<Retval>,
pub params: Vec<Parameter>,
}Expand description
Represents an exported function.
Fields§
§name: Str§docs: DocBlock§ret: Option<Retval>§params: Vec<Parameter>Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Function
impl !Send for Function
impl !Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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