pub struct PassThroughPortConfig {
pub base: u16,
pub length: u16,
}Expand description
A part of AxVMConfig, which represents a host I/O port range passed through
to a virtual machine.
Fields§
§base: u16The first host I/O port number.
length: u16The number of ports in this range.
Trait Implementations§
Source§impl Clone for PassThroughPortConfig
impl Clone for PassThroughPortConfig
Source§fn clone(&self) -> PassThroughPortConfig
fn clone(&self) -> PassThroughPortConfig
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 PassThroughPortConfig
Source§impl Debug for PassThroughPortConfig
impl Debug for PassThroughPortConfig
Source§impl Default for PassThroughPortConfig
impl Default for PassThroughPortConfig
Source§fn default() -> PassThroughPortConfig
fn default() -> PassThroughPortConfig
Returns the “default value” for a type. Read more
impl Eq for PassThroughPortConfig
Source§impl PartialEq for PassThroughPortConfig
impl PartialEq for PassThroughPortConfig
Source§fn eq(&self, other: &PassThroughPortConfig) -> bool
fn eq(&self, other: &PassThroughPortConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PassThroughPortConfig
Auto Trait Implementations§
impl Freeze for PassThroughPortConfig
impl RefUnwindSafe for PassThroughPortConfig
impl Send for PassThroughPortConfig
impl Sync for PassThroughPortConfig
impl Unpin for PassThroughPortConfig
impl UnsafeUnpin for PassThroughPortConfig
impl UnwindSafe for PassThroughPortConfig
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