Type Alias FnSig

Source
pub type FnSig = FnSig<Interner>;

Aliased Type§

struct FnSig {
    pub abi: FnAbi,
    pub safety: Safety,
    pub variadic: bool,
}

Fields§

§abi: FnAbi§safety: Safety§variadic: bool

Trait Implementations

§

impl<I> Clone for FnSig<I>
where I: Clone + Interner, <I as Interner>::FnAbi: Clone,

§

fn clone(&self) -> FnSig<I>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<I> Debug for FnSig<I>
where I: Debug + Interner, <I as Interner>::FnAbi: Debug,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<I> HasInterner for FnSig<I>
where I: Interner,

§

type Interner = I

The interner associated with the type.
§

impl<I> Hash for FnSig<I>
where I: Hash + Interner, <I as Interner>::FnAbi: Hash,

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl<I> PartialEq for FnSig<I>
where I: PartialEq + Interner, <I as Interner>::FnAbi: PartialEq,

§

fn eq(&self, other: &FnSig<I>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl<I> Copy for FnSig<I>
where I: Copy + Interner, <I as Interner>::FnAbi: Copy,

§

impl<I> Eq for FnSig<I>
where I: Eq + Interner, <I as Interner>::FnAbi: Eq,

§

impl<I> StructuralPartialEq for FnSig<I>
where I: Interner,