#[repr(C)]pub struct UNICODE_STRING {
pub Length: u16,
pub MaximumLength: u16,
pub Buffer: PWSTR,
}Fields§
§Length: u16§MaximumLength: u16§Buffer: PWSTRTrait Implementations§
Source§impl Abi for UNICODE_STRING
impl Abi for UNICODE_STRING
Source§type Abi = UNICODE_STRING
type Abi = UNICODE_STRING
The abi representation of the implementing type. Read more
type DefaultType = UNICODE_STRING
Source§fn ok(value: &Self::DefaultType) -> Result<Self, Error>
fn ok(value: &Self::DefaultType) -> Result<Self, Error>
Converts from
Self::DefaultType to Result<T>.Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for UNICODE_STRING
impl Clone for UNICODE_STRING
Source§fn clone(&self) -> UNICODE_STRING
fn clone(&self) -> UNICODE_STRING
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 UNICODE_STRING
Source§impl Debug for UNICODE_STRING
impl Debug for UNICODE_STRING
Source§impl Default for UNICODE_STRING
impl Default for UNICODE_STRING
impl Eq for UNICODE_STRING
Auto Trait Implementations§
impl !Send for UNICODE_STRING
impl !Sync for UNICODE_STRING
impl Freeze for UNICODE_STRING
impl RefUnwindSafe for UNICODE_STRING
impl Unpin for UNICODE_STRING
impl UnsafeUnpin for UNICODE_STRING
impl UnwindSafe for UNICODE_STRING
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