pub struct Function {
pub name: String,
pub signature: [u8; 4],
pub inputs: Vec<Argument>,
pub fn_type: FunctionType,
pub outputs: Vec<Argument>,
}Expand description
A Function Signature
Fields§
§name: StringThe name of the function
signature: [u8; 4]The function signature
inputs: Vec<Argument>The parameters of the function
fn_type: FunctionTypeThe function type
outputs: Vec<Argument>The return values of the function
Trait Implementations§
Source§impl Ord for Function
impl Ord for Function
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Function
impl PartialOrd for Function
impl Eq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnsafeUnpin for Function
impl UnwindSafe for Function
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