[−][src]Struct intercom_common::methodinfo::ComArg
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]
name: Ident,
ty: Type,
dir: Direction,
type_system: ModelTypeSystem
) -> ComArg
pub fn from_rustarg(
rustarg: RustArg,
dir: Direction,
type_system: ModelTypeSystem
) -> ComArg
[src]
rustarg: RustArg,
dir: Direction,
type_system: ModelTypeSystem
) -> ComArg
Trait Implementations
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,