[][src]Trait winstr::AsBStrPtr

pub unsafe trait AsBStrPtr: AsRef<BStr> {
    fn as_bstr_ptr(&self) -> BSTR { ... }
}

Utility trait for borrowing function arguments as BSTRs

Safety

By implementing this trait, you promise that as_bstr_ptr will return a valid, non-null BSTR.

Provided methods

fn as_bstr_ptr(&self) -> BSTR

Borrow self as a raw BSTR

Loading content...

Implementors

impl<B: AsRef<BStr>> AsBStrPtr for B[src]

Loading content...