pub struct RPC_UNICODE_STRING {
pub Length: u16,
pub MaximumLength: u16,
pub Buffer: Vec<WCHAR>,
}Expand description
typedef struct _RPC_UNICODE_STRING {
unsigned short Length;
unsigned short MaximumLength;
[size_is(MaximumLength/2), length_is(Length/2)]
WCHAR* Buffer;
} RPC_UNICODE_STRING,
*PRPC_UNICODE_STRING;Fields§
§Length: u16§MaximumLength: u16§Buffer: Vec<WCHAR>Implementations§
Source§impl RPC_UNICODE_STRING
impl RPC_UNICODE_STRING
pub fn buffer_to_be_bytes(&self) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl Clone for RPC_UNICODE_STRING
impl Clone for RPC_UNICODE_STRING
Source§fn clone(&self) -> RPC_UNICODE_STRING
fn clone(&self) -> RPC_UNICODE_STRING
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 RPC_UNICODE_STRING
impl Debug for RPC_UNICODE_STRING
Source§impl Default for RPC_UNICODE_STRING
impl Default for RPC_UNICODE_STRING
Source§fn default() -> RPC_UNICODE_STRING
fn default() -> RPC_UNICODE_STRING
Returns the “default value” for a type. Read more
Source§impl From<&str> for RPC_UNICODE_STRING
impl From<&str> for RPC_UNICODE_STRING
Source§impl PartialEq for RPC_UNICODE_STRING
impl PartialEq for RPC_UNICODE_STRING
impl StructuralPartialEq for RPC_UNICODE_STRING
Auto Trait Implementations§
impl Freeze for RPC_UNICODE_STRING
impl RefUnwindSafe for RPC_UNICODE_STRING
impl Send for RPC_UNICODE_STRING
impl Sync for RPC_UNICODE_STRING
impl Unpin for RPC_UNICODE_STRING
impl UnwindSafe for RPC_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