pub struct PlatformBuilder { /* private fields */ }
Expand description
Builder for Platform
.
Implementations§
Source§impl PlatformBuilder
impl PlatformBuilder
pub fn num_pci_segments<VALUE: Into<u8>>(&mut self, value: VALUE) -> &mut Self
pub fn iommu_segments<VALUE: Into<u8>>(&mut self, value: VALUE) -> &mut Self
pub fn serial_number<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn uuid<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn oem_strings<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for PlatformBuilder
impl Clone for PlatformBuilder
Source§fn clone(&self) -> PlatformBuilder
fn clone(&self) -> PlatformBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for PlatformBuilder
impl RefUnwindSafe for PlatformBuilder
impl Send for PlatformBuilder
impl Sync for PlatformBuilder
impl Unpin for PlatformBuilder
impl UnwindSafe for PlatformBuilder
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