[][src]Struct intercom_common::methodinfo::ComArg

pub struct ComArg {
    pub name: Ident,
    pub ty: Type,
    pub handler: Rc<dyn TypeHandler>,
    pub dir: Direction,
}

Fields

name: Ident

Name of the argument.

ty: Type

Rust type of the raw COM argument.

handler: Rc<dyn TypeHandler>

Type handler.

dir: Direction

Argument direction. COM uses OUT params while Rust uses return values.

Methods

impl ComArg[src]

pub fn new(
    name: Ident,
    ty: Type,
    dir: Direction,
    type_system: ModelTypeSystem
) -> ComArg
[src]

pub fn from_rustarg(
    rustarg: RustArg,
    dir: Direction,
    type_system: ModelTypeSystem
) -> ComArg
[src]

Trait Implementations

impl PartialEq<ComArg> for ComArg[src]

impl Debug for ComArg[src]

Auto Trait Implementations

impl !Send for ComArg

impl Unpin for ComArg

impl !Sync for ComArg

impl !UnwindSafe for ComArg

impl !RefUnwindSafe for ComArg

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]