pub struct PciSegmentConfig {
pub pci_segment: i32,
pub mmio32_aperture_weight: Option<i32>,
pub mmio64_aperture_weight: Option<i32>,
}
Fields§
§pci_segment: i32
§mmio32_aperture_weight: Option<i32>
§mmio64_aperture_weight: Option<i32>
Implementations§
Source§impl PciSegmentConfig
impl PciSegmentConfig
pub fn new(pci_segment: i32) -> PciSegmentConfig
Trait Implementations§
Source§impl Clone for PciSegmentConfig
impl Clone for PciSegmentConfig
Source§fn clone(&self) -> PciSegmentConfig
fn clone(&self) -> PciSegmentConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 PciSegmentConfig
impl Debug for PciSegmentConfig
Source§impl Default for PciSegmentConfig
impl Default for PciSegmentConfig
Source§fn default() -> PciSegmentConfig
fn default() -> PciSegmentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PciSegmentConfig
impl<'de> Deserialize<'de> for PciSegmentConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PciSegmentConfig
impl PartialEq for PciSegmentConfig
Source§impl Serialize for PciSegmentConfig
impl Serialize for PciSegmentConfig
impl StructuralPartialEq for PciSegmentConfig
Auto Trait Implementations§
impl Freeze for PciSegmentConfig
impl RefUnwindSafe for PciSegmentConfig
impl Send for PciSegmentConfig
impl Sync for PciSegmentConfig
impl Unpin for PciSegmentConfig
impl UnwindSafe for PciSegmentConfig
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