pub trait IDispatchExt {
    // Required methods
    fn call<S>(&self, name: S, args: Vec<VARIANT>) -> Result<VARIANT>
       where S: AsRef<str>;
    fn get<S>(&self, name: S) -> Result<VARIANT>
       where S: AsRef<str>;
    fn set<S>(&self, name: S, value: VARIANT) -> Result<VARIANT>
       where S: AsRef<str>;
}

Required Methods§

source

fn call<S>(&self, name: S, args: Vec<VARIANT>) -> Result<VARIANT>where S: AsRef<str>,

Call a function on this IDispatch

source

fn get<S>(&self, name: S) -> Result<VARIANT>where S: AsRef<str>,

Get the value of a variable on this IDispatch

source

fn set<S>(&self, name: S, value: VARIANT) -> Result<VARIANT>where S: AsRef<str>,

Set a value of a variable on this IDispatch

Implementors§