pub struct FunctionSig {
pub params: Option<Vec<Type>>,
pub return_type: Type,
}Fields§
§params: Option<Vec<Type>>Parameter types in declaration order. None = variadic / unknown (built-ins with flexible arity).
return_type: TypeTrait Implementations§
Source§impl Clone for FunctionSig
impl Clone for FunctionSig
Source§fn clone(&self) -> FunctionSig
fn clone(&self) -> FunctionSig
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 moreAuto Trait Implementations§
impl Freeze for FunctionSig
impl RefUnwindSafe for FunctionSig
impl Send for FunctionSig
impl Sync for FunctionSig
impl Unpin for FunctionSig
impl UnsafeUnpin for FunctionSig
impl UnwindSafe for FunctionSig
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