pub struct TyFunction {
pub params: Vec<Ty>,
pub body: Ty,
}Fields§
§params: Vec<Ty>§body: TyTrait Implementations§
Source§impl Clone for TyFunction
impl Clone for TyFunction
Source§fn clone(&self) -> TyFunction
fn clone(&self) -> TyFunction
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 TyFunction
impl Debug for TyFunction
Source§impl Encode for TyFunction
impl Encode for TyFunction
Source§impl From<TyFunction> for TyKind
impl From<TyFunction> for TyKind
Source§fn from(value: TyFunction) -> Self
fn from(value: TyFunction) -> Self
Converts to this type from the input type.
Source§impl Layout for TyFunction
impl Layout for TyFunction
Source§impl PartialEq for TyFunction
impl PartialEq for TyFunction
impl StructuralPartialEq for TyFunction
Auto Trait Implementations§
impl Freeze for TyFunction
impl RefUnwindSafe for TyFunction
impl Send for TyFunction
impl Sync for TyFunction
impl Unpin for TyFunction
impl UnsafeUnpin for TyFunction
impl UnwindSafe for TyFunction
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