pub struct FunctionType { /* private fields */ }
Expand description
each function has a type signature.
Implementations§
Source§impl FunctionType
impl FunctionType
pub fn new(ret_type: ReturnType, args: ParameterSet) -> Self
Trait Implementations§
Source§impl Display for FunctionType
impl Display for FunctionType
Source§impl Hash for FunctionType
impl Hash for FunctionType
Source§impl Ord for FunctionType
impl Ord for FunctionType
Source§fn cmp(&self, other: &FunctionType) -> Ordering
fn cmp(&self, other: &FunctionType) -> Ordering
1.21.0 · 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 PartialEq for FunctionType
impl PartialEq for FunctionType
Source§impl PartialOrd for FunctionType
impl PartialOrd for FunctionType
impl Eq for FunctionType
impl StructuralPartialEq for FunctionType
Auto Trait Implementations§
impl Freeze for FunctionType
impl RefUnwindSafe for FunctionType
impl Send for FunctionType
impl Sync for FunctionType
impl Unpin for FunctionType
impl UnwindSafe for FunctionType
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