[][src]Crate winstr

Modules

_alternatives

Alternatives crates I'm competing with

_features

Cargo.toml features

Macros

bstr

Create a &BStr literal at compile time

Structs

BStr

&BStr is a non-null, borrowed, BSTR (32-bit length prefixed UTF-16ish string). Unlike &OsStr or &str, this is not a DST!

BString

BString is a non-null, owned, BSTR (32-bit length prefixed UTF-16ish string).

Traits

AsBStrPtr

Utility trait for borrowing function arguments as BSTRs

AsOptBStrPtr

Utility trait for borrowing function arguments as BSTRs or NULL

IntoBStr

Similar to Into<BString>, except that this won't require copying &BStr or &BString arguments.

IntoOptBStr

Similar to Into<Option<BString>>, except that this won't require copying &BStr or &BString arguments. Additionally, you can use () in lieu of None - whereas trying to pass None to a function accepting Into<Option<BString>> would cause ambiguous type errors.