pub struct PassThroughAddressConfig {
pub base_gpa: usize,
pub length: usize,
}Expand description
A part of AxVMConfig, which represents the configuration of a pass-through address for a virtual machine.
Fields§
§base_gpa: usizeThe base GPA (Guest Physical Address).
length: usizeThe address length.
Trait Implementations§
Source§impl Clone for PassThroughAddressConfig
impl Clone for PassThroughAddressConfig
Source§fn clone(&self) -> PassThroughAddressConfig
fn clone(&self) -> PassThroughAddressConfig
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 moreSource§impl Debug for PassThroughAddressConfig
impl Debug for PassThroughAddressConfig
Source§impl Default for PassThroughAddressConfig
impl Default for PassThroughAddressConfig
Source§fn default() -> PassThroughAddressConfig
fn default() -> PassThroughAddressConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for PassThroughAddressConfig
impl PartialEq for PassThroughAddressConfig
Source§fn eq(&self, other: &PassThroughAddressConfig) -> bool
fn eq(&self, other: &PassThroughAddressConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PassThroughAddressConfig
Auto Trait Implementations§
impl Freeze for PassThroughAddressConfig
impl RefUnwindSafe for PassThroughAddressConfig
impl Send for PassThroughAddressConfig
impl Sync for PassThroughAddressConfig
impl Unpin for PassThroughAddressConfig
impl UnsafeUnpin for PassThroughAddressConfig
impl UnwindSafe for PassThroughAddressConfig
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