[][src]Struct intercom_common::model::ComImpl

pub struct ComImpl { /* fields omitted */ }

Methods

impl ComImpl[src]

pub fn parse(item: &str) -> ParseResult<ComImpl>[src]

Parses the associated item of the #[com_impl] attribute.

pub fn from_ast(item: &Item) -> ParseResult<ComImpl>[src]

Creates ComImpl from AST elements.

pub fn aut(&self) -> &ComImplVariant[src]

Temp accessor for the automation variant.

pub fn struct_name(&self) -> &Ident[src]

Struct name that the trait is implemented for.

pub fn variants(&self) -> &OrderMap<ModelTypeSystem, ComImplVariant>[src]

Interface variants.

pub fn interface_name(&self) -> &Ident[src]

Trait name that is implemented. Struct name if this is an implicit impl.

pub fn is_trait_impl(&self) -> bool[src]

True if a valid trait is implemented, false for implicit impls.

Trait Implementations

impl PartialEq<ComImpl> for ComImpl[src]

impl Debug for ComImpl[src]

Auto Trait Implementations

impl !Send for ComImpl

impl Unpin for ComImpl

impl !Sync for ComImpl

impl !UnwindSafe for ComImpl

impl !RefUnwindSafe for ComImpl

Blanket Implementations

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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