[][src]Struct chalk_ir::FnSig

pub struct FnSig<I: Interner> {
    pub abi: I::FnAbi,
    pub safety: Safety,
    pub variadic: bool,
}

A function signature.

Fields

abi: I::FnAbisafety: Safetyvariadic: bool

Trait Implementations

impl<I: Clone + Interner> Clone for FnSig<I> where
    I::FnAbi: Clone
[src]

impl<I: Copy + Interner> Copy for FnSig<I> where
    I::FnAbi: Copy
[src]

impl<I: Debug + Interner> Debug for FnSig<I> where
    I::FnAbi: Debug
[src]

impl<I: Eq + Interner> Eq for FnSig<I> where
    I::FnAbi: Eq
[src]

impl<I: Interner> HasInterner for FnSig<I>[src]

type Interner = I

The interner associated with the type.

impl<I: Hash + Interner> Hash for FnSig<I> where
    I::FnAbi: Hash
[src]

impl<I: PartialEq + Interner> PartialEq<FnSig<I>> for FnSig<I> where
    I::FnAbi: PartialEq
[src]

impl<I: Interner> StructuralEq for FnSig<I>[src]

impl<I: Interner> StructuralPartialEq for FnSig<I>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Cast for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.