Struct windy::AnsiString [−][src]
#[repr(C)]pub struct AnsiString<'a> { /* fields omitted */ }
Expand description
Represents ANSI_STRING.
Implementations
Returns &mut [ANSI_STRING
].
Returns *mut [ANSI_STRING
].
Methods from Deref<Target = AStr>
Returns ConvertError::ConvertToUnicodeError
if an input cannot be converted to a wide char.
Example
use windy::{AString, WString}; let s = WString::from_str("test").unwrap(); let s2 = AString::from_str("test").unwrap().to_wstring().unwrap(); assert_eq!(s, s2);
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for AnsiString<'a>
impl<'a> !Send for AnsiString<'a>
impl<'a> !Sync for AnsiString<'a>
impl<'a> Unpin for AnsiString<'a>
impl<'a> UnwindSafe for AnsiString<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more