pub struct GuestMemoryProtection {
pub read: bool,
pub write: bool,
pub execute: bool,
}Fields§
§read: bool§write: bool§execute: boolImplementations§
Source§impl GuestMemoryProtection
impl GuestMemoryProtection
pub const READ_WRITE_EXECUTE: Self
Trait Implementations§
Source§impl Clone for GuestMemoryProtection
impl Clone for GuestMemoryProtection
Source§fn clone(&self) -> GuestMemoryProtection
fn clone(&self) -> GuestMemoryProtection
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 GuestMemoryProtection
Source§impl Debug for GuestMemoryProtection
impl Debug for GuestMemoryProtection
impl Eq for GuestMemoryProtection
Source§impl PartialEq for GuestMemoryProtection
impl PartialEq for GuestMemoryProtection
Source§fn eq(&self, other: &GuestMemoryProtection) -> bool
fn eq(&self, other: &GuestMemoryProtection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GuestMemoryProtection
Auto Trait Implementations§
impl Freeze for GuestMemoryProtection
impl RefUnwindSafe for GuestMemoryProtection
impl Send for GuestMemoryProtection
impl Sync for GuestMemoryProtection
impl Unpin for GuestMemoryProtection
impl UnsafeUnpin for GuestMemoryProtection
impl UnwindSafe for GuestMemoryProtection
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.