pub struct RustFunctionSig {
pub params: Vec<RustParam>,
pub return_type: Option<String>,
}Expand description
Rust function signature
Fields§
§params: Vec<RustParam>§return_type: Option<String>Trait Implementations§
Source§impl Clone for RustFunctionSig
impl Clone for RustFunctionSig
Source§fn clone(&self) -> RustFunctionSig
fn clone(&self) -> RustFunctionSig
Returns a duplicate 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 moreSource§impl Debug for RustFunctionSig
impl Debug for RustFunctionSig
Source§impl<'de> Deserialize<'de> for RustFunctionSig
impl<'de> Deserialize<'de> for RustFunctionSig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RustFunctionSig
impl RefUnwindSafe for RustFunctionSig
impl Send for RustFunctionSig
impl Sync for RustFunctionSig
impl Unpin for RustFunctionSig
impl UnsafeUnpin for RustFunctionSig
impl UnwindSafe for RustFunctionSig
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