[][src]Struct rustc_ap_syntax::ast::Abi

pub struct Abi {
    pub symbol: Symbol,
    pub span: Span,
}

A reference to an ABI.

In AST our notion of an ABI is still syntactic unlike in rustc_target::spec::abi::Abi.

Fields

symbol: Symbolspan: Span

Methods

impl Abi[src]

pub fn new(symbol: Symbol, span: Span) -> Self[src]

Trait Implementations

impl Clone for Abi[src]

impl Copy for Abi[src]

impl Default for Abi[src]

impl PartialEq<Abi> for Abi[src]

impl Debug for Abi[src]

impl StructuralPartialEq for Abi[src]

impl Encodable for Abi[src]

impl Decodable for Abi[src]

Auto Trait Implementations

impl !Send for Abi

impl !Sync for Abi

impl Unpin for Abi

impl UnwindSafe for Abi

impl RefUnwindSafe for Abi

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> Erased for T[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<E> SpecializationError for E[src]