Struct winrt::BStr
[−]
[src]
pub struct BStr(_);
A wrapper around BSTR
, a string type used by classic COM. This is usually not needed when
working with WinRT, but can be helpful when interacting with other APIs.
Methods
impl BStr
[src]
fn get(&self) -> BSTR
unsafe fn wrap(bstr: BSTR) -> BStr
fn empty() -> BStr
fn get_address(&mut self) -> &mut BSTR
fn len(&self) -> u32
Trait Implementations
impl<'a> From<&'a str> for BStr
[src]
impl Display for BStr
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.