#[repr(C)]pub struct UnicodeString {
pub length: u16,
pub maximum_length: u16,
pub buffer: *mut u16,
}Expand description
UNICODE_STRING structure for Windows kernel APIs.
This is a counted Unicode string, not null-terminated.
Fields§
§length: u16Length of the string in bytes (not including any null terminator).
maximum_length: u16Maximum size of the Buffer in bytes.
buffer: *mut u16Pointer to the wide string buffer.
Implementations§
Source§impl UnicodeString
impl UnicodeString
Trait 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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnicodeString
impl Debug for UnicodeString
impl Copy for UnicodeString
Auto Trait Implementations§
impl Freeze for UnicodeString
impl RefUnwindSafe for UnicodeString
impl !Send for UnicodeString
impl !Sync 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