pub struct TyFn {
pub args: Box<TyKind>,
pub rety: Option<Box<Ty>>,
}
Expand description
The args and return value for a function pointer Type
Fields§
§args: Box<TyKind>
§rety: Option<Box<Ty>>
Trait Implementations§
source§impl PartialEq for TyFn
impl PartialEq for TyFn
impl Eq for TyFn
impl StructuralPartialEq for TyFn
Auto Trait Implementations§
impl Freeze for TyFn
impl RefUnwindSafe for TyFn
impl Send for TyFn
impl Sync for TyFn
impl Unpin for TyFn
impl UnwindSafe for TyFn
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