pub struct FunctionReturnData {
pub type: Type,
pub js_type: Option<String>,
pub desc: Option<String>,
}
Expand description
Information about a function’s return
Fields§
§type: Type
Specifies the type of the function’s return
js_type: Option<String>
Specifies the JS return type override
desc: Option<String>
Specifies the return description
Trait Implementations§
Source§impl Clone for FunctionReturnData
impl Clone for FunctionReturnData
Source§fn clone(&self) -> FunctionReturnData
fn clone(&self) -> FunctionReturnData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for FunctionReturnData
impl RefUnwindSafe for FunctionReturnData
impl !Send for FunctionReturnData
impl !Sync for FunctionReturnData
impl Unpin for FunctionReturnData
impl UnwindSafe for FunctionReturnData
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