Trait com_shim::VariantExt

source ·
pub trait VariantExt {
    // Required methods
    fn null() -> VARIANT;
    fn from_i32(n: i32) -> VARIANT;
    fn from_i64(n: i64) -> VARIANT;
    fn from_str<S: AsRef<str>>(s: S) -> VARIANT;
    fn from_bool(b: bool) -> VARIANT;
    fn to_i32(&self) -> Result<i32>;
    fn to_i64(&self) -> Result<i64>;
    fn to_string(&self) -> Result<String>;
    fn to_bool(&self) -> Result<bool>;
    fn to_idispatch(&self) -> Result<&IDispatch>;
}

Required Methods§

Implementors§