pub struct FunctionSignature {
pub parameters: Vec<VariableType>,
pub return_type: VariableType,
}
Fields§
§parameters: Vec<VariableType>
§return_type: VariableType
Implementations§
Source§impl FunctionSignature
impl FunctionSignature
pub fn single(parameter: VariableType, return_type: VariableType) -> Self
Trait Implementations§
Source§impl Clone for FunctionSignature
impl Clone for FunctionSignature
Source§fn clone(&self) -> FunctionSignature
fn clone(&self) -> FunctionSignature
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 FunctionSignature
impl !RefUnwindSafe for FunctionSignature
impl !Send for FunctionSignature
impl !Sync for FunctionSignature
impl Unpin for FunctionSignature
impl !UnwindSafe for FunctionSignature
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