pub struct HostPortAssignment {
pub base: u16,
pub length: u16,
}Expand description
One architecture-owned host I/O port assignment.
Fields§
§base: u16The first host I/O port number.
length: u16The number of ports in this range.
Trait Implementations§
Source§impl Clone for HostPortAssignment
impl Clone for HostPortAssignment
Source§fn clone(&self) -> HostPortAssignment
fn clone(&self) -> HostPortAssignment
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 HostPortAssignment
Source§impl Debug for HostPortAssignment
impl Debug for HostPortAssignment
Source§impl Default for HostPortAssignment
impl Default for HostPortAssignment
Source§fn default() -> HostPortAssignment
fn default() -> HostPortAssignment
Returns the “default value” for a type. Read more
impl Eq for HostPortAssignment
Source§impl PartialEq for HostPortAssignment
impl PartialEq for HostPortAssignment
impl StructuralPartialEq for HostPortAssignment
Auto Trait Implementations§
impl Freeze for HostPortAssignment
impl RefUnwindSafe for HostPortAssignment
impl Send for HostPortAssignment
impl Sync for HostPortAssignment
impl Unpin for HostPortAssignment
impl UnsafeUnpin for HostPortAssignment
impl UnwindSafe for HostPortAssignment
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