Struct bstr::NullBStr
[−]
[src]
pub struct NullBStr;
Empty borrowed string as a null BSTR.
Null BSTR and zero length BSTR must be semantically equivalent
however &BStr cannot be null, so this type fills the gap.
Methods from Deref<Target=BStr>
fn to_os_string(&self) -> OsString
Clones the string encoded as OsString.
Trait Implementations
impl PartialEq for NullBStr[src]
fn eq(&self, __arg_0: &NullBStr) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for NullBStr[src]
impl Debug for NullBStr[src]
impl Clone for NullBStr[src]
fn clone(&self) -> NullBStr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for NullBStr[src]
impl AsRef<BStr> for NullBStr[src]
impl Deref for NullBStr[src]
type Target = BStr
The resulting type after dereferencing
fn deref(&self) -> &BStr
The method called to dereference a value