#[repr(C)]pub struct UnicodeString {
pub length: u16,
pub maximum_length: u16,
pub buffer: *mut u16,
}Expand description
UNICODE_STRING — counted UTF-16 string. Matches ntdef layout.
Fields§
§length: u16§maximum_length: u16§buffer: *mut u16Trait Implementations§
Source§impl Clone for UnicodeString
impl Clone for UnicodeString
Source§fn clone(&self) -> UnicodeString
fn clone(&self) -> UnicodeString
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnicodeString
Auto Trait Implementations§
impl !Send for UnicodeString
impl !Sync for UnicodeString
impl Freeze for UnicodeString
impl RefUnwindSafe for UnicodeString
impl Unpin for UnicodeString
impl UnsafeUnpin for UnicodeString
impl UnwindSafe for UnicodeString
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more