pub struct Func {
pub params: Vec<Param>,
pub returns: Vec<Return>,
pub doc: Option<Cow<'static, str>>,
}
Expand description
Type information for a lua class
function
Fields§
§params: Vec<Param>
§returns: Vec<Return>
§doc: Option<Cow<'static, str>>
Trait Implementations§
Source§impl Ord for Func
impl Ord for Func
Source§impl PartialOrd for Func
impl PartialOrd for Func
impl Eq for Func
impl StructuralPartialEq for Func
Auto Trait Implementations§
impl Freeze for Func
impl RefUnwindSafe for Func
impl Send for Func
impl Sync for Func
impl Unpin for Func
impl UnwindSafe for Func
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