Struct minidump::format::GUID [−][src]
Expand description
A GUID as specified in Rpcdce.h
Matches the Microsoft struct of the same name.
Display
There are two Display
implementations for GUIDs. The regular formatting is lowercase with
hyphens. The alternate formatting used with #
is the symbol server format (uppercase without
hyphens).
use minidump_common::format::GUID; let guid = GUID { data1: 10, data2: 11, data3: 12, data4: [1,2,3,4,5,6,7,8]}; // default formatting assert_eq!("0000000a-000b-000c-0102-030405060708", guid.to_string()); // symbol server formatting assert_eq!("0000000A000B000C0102030405060708", format!("{:#}", guid));
Fields
data1: u32
data2: u16
data3: u16
data4: [u8; 8]
Trait Implementations
impl Copy for GUID
[src]
impl Eq for GUID
[src]
impl StructuralEq for GUID
[src]
impl StructuralPartialEq for GUID
[src]
Auto Trait Implementations
impl RefUnwindSafe for GUID
impl Send for GUID
impl Sync for GUID
impl Unpin for GUID
impl UnwindSafe for GUID
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more