Expand description
A function signature.
Fields
abi: I::FnAbi
safety: Safety
variadic: bool
Trait Implementations
sourceimpl<I: Interner> HasInterner for FnSig<I>
impl<I: Interner> HasInterner for FnSig<I>
type Interner = I
type Interner = I
The interner associated with the type.
impl<I: Copy + Interner> Copy for FnSig<I> where
I::FnAbi: Copy,
impl<I: Eq + Interner> Eq for FnSig<I> where
I::FnAbi: Eq,
impl<I: Interner> StructuralEq for FnSig<I>
impl<I: Interner> StructuralPartialEq for FnSig<I>
Auto Trait Implementations
impl<I> RefUnwindSafe for FnSig<I> where
<I as Interner>::FnAbi: RefUnwindSafe,
impl<I> Send for FnSig<I> where
<I as Interner>::FnAbi: Send,
impl<I> Sync for FnSig<I> where
<I as Interner>::FnAbi: Sync,
impl<I> Unpin for FnSig<I> where
<I as Interner>::FnAbi: Unpin,
impl<I> UnwindSafe for FnSig<I> where
<I as Interner>::FnAbi: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Cast for T
impl<T> Cast for T
sourcefn cast<U>(self, interner: U::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: U::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.