#[repr(C, packed(1))]pub struct ZydisShortString_ {
pub data: *const c_char,
pub size: ZyanU8,
}Expand description
Defines the ZydisShortString struct.
This compact struct is mainly used for internal string-tables to save up some bytes.
All fields in this struct should be considered as “private”. Any changes may lead to unexpected behavior.
Fields§
§data: *const c_charThe buffer that contains the actual (null-terminated) string.
size: ZyanU8The length (number of characters) of the string (without 0-termination).
Trait Implementations§
Source§impl Clone for ZydisShortString_
impl Clone for ZydisShortString_
Source§fn clone(&self) -> ZydisShortString_
fn clone(&self) -> ZydisShortString_
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 ZydisShortString_
impl Debug for ZydisShortString_
Source§impl Default for ZydisShortString_
impl Default for ZydisShortString_
Source§impl PartialEq for ZydisShortString_
impl PartialEq for ZydisShortString_
impl Copy for ZydisShortString_
impl Eq for ZydisShortString_
impl StructuralPartialEq for ZydisShortString_
Auto Trait Implementations§
impl Freeze for ZydisShortString_
impl RefUnwindSafe for ZydisShortString_
impl !Send for ZydisShortString_
impl !Sync for ZydisShortString_
impl Unpin for ZydisShortString_
impl UnwindSafe for ZydisShortString_
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