#[repr(C)]pub struct MemoryContextViolationInfo {
pub address: u64,
pub kind: MemoryAccessKind,
}
Expand description
Information about a non-object-related memory access violation.
Fields§
§address: u64
The virtual address that caused the exception.
kind: MemoryAccessKind
The kind of memory access.
Implementations§
source§impl MemoryContextViolationInfo
impl MemoryContextViolationInfo
pub fn new(address: u64, kind: MemoryAccessKind) -> Self
Trait Implementations§
source§impl Clone for MemoryContextViolationInfo
impl Clone for MemoryContextViolationInfo
source§fn clone(&self) -> MemoryContextViolationInfo
fn clone(&self) -> MemoryContextViolationInfo
Returns a copy 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 MemoryContextViolationInfo
impl Debug for MemoryContextViolationInfo
source§impl Ord for MemoryContextViolationInfo
impl Ord for MemoryContextViolationInfo
source§fn cmp(&self, other: &MemoryContextViolationInfo) -> Ordering
fn cmp(&self, other: &MemoryContextViolationInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialOrd for MemoryContextViolationInfo
impl PartialOrd for MemoryContextViolationInfo
impl Copy for MemoryContextViolationInfo
impl Eq for MemoryContextViolationInfo
impl StructuralPartialEq for MemoryContextViolationInfo
Auto Trait Implementations§
impl Freeze for MemoryContextViolationInfo
impl ObjSafe for MemoryContextViolationInfo
impl RefUnwindSafe for MemoryContextViolationInfo
impl Send for MemoryContextViolationInfo
impl Sync for MemoryContextViolationInfo
impl Unpin for MemoryContextViolationInfo
impl UnwindSafe for MemoryContextViolationInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.