Struct simics_package::spec::PackageSpecs
source · pub struct PackageSpecs(pub Vec<PackageSpec>);
Expand description
A list of package specifications. This data structure can be written to a package-specs.json file and consumed by Simics packaging utilities.
Tuple Fields§
§0: Vec<PackageSpec>
Implementations§
source§impl PackageSpecs
impl PackageSpecs
sourcepub fn from_subcommand(subcommand: &Subcommand) -> Result<Self>
pub fn from_subcommand(subcommand: &Subcommand) -> Result<Self>
Generate the list of specifications from a subcommand input
Trait Implementations§
source§impl Clone for PackageSpecs
impl Clone for PackageSpecs
source§fn clone(&self) -> PackageSpecs
fn clone(&self) -> PackageSpecs
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 moresource§impl Debug for PackageSpecs
impl Debug for PackageSpecs
source§impl<'de> Deserialize<'de> for PackageSpecs
impl<'de> Deserialize<'de> for PackageSpecs
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
Auto Trait Implementations§
impl Freeze for PackageSpecs
impl RefUnwindSafe for PackageSpecs
impl Send for PackageSpecs
impl Sync for PackageSpecs
impl Unpin for PackageSpecs
impl UnwindSafe for PackageSpecs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)