pub struct GuestMemoryRegion {
pub base: u64,
pub size: u64,
pub readable: bool,
pub writable: bool,
pub executable: bool,
}Fields§
§base: u64§size: u64§readable: bool§writable: bool§executable: boolTrait Implementations§
Source§impl Clone for GuestMemoryRegion
impl Clone for GuestMemoryRegion
Source§fn clone(&self) -> GuestMemoryRegion
fn clone(&self) -> GuestMemoryRegion
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 GuestMemoryRegion
Source§impl Debug for GuestMemoryRegion
impl Debug for GuestMemoryRegion
impl Eq for GuestMemoryRegion
Source§impl PartialEq for GuestMemoryRegion
impl PartialEq for GuestMemoryRegion
Source§fn eq(&self, other: &GuestMemoryRegion) -> bool
fn eq(&self, other: &GuestMemoryRegion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GuestMemoryRegion
Auto Trait Implementations§
impl Freeze for GuestMemoryRegion
impl RefUnwindSafe for GuestMemoryRegion
impl Send for GuestMemoryRegion
impl Sync for GuestMemoryRegion
impl Unpin for GuestMemoryRegion
impl UnsafeUnpin for GuestMemoryRegion
impl UnwindSafe for GuestMemoryRegion
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.