Struct simics_package::artifacts::PackageArtifacts
source · pub struct PackageArtifacts {
pub libs: Vec<PathBuf>,
pub files: Vec<(String, String)>,
}
Expand description
A set of artifacts that will be added into a Simics package
Fields§
§libs: Vec<PathBuf>
Source paths of signed libraries in the build directory. These will be copied into $(HOST)/lib/
files: Vec<(String, String)>
Files mapping of in-package to on-disk files which will be used to generate the package spec
Implementations§
source§impl PackageArtifacts
impl PackageArtifacts
sourcepub fn from_subcommand(subcommand: &Subcommand) -> Result<Self>
pub fn from_subcommand(subcommand: &Subcommand) -> Result<Self>
Create a new PackageArtifacts
from a Subcommand
by reading the crate state and
obtaining build results including macro-built interfaces.
Trait Implementations§
source§impl Clone for PackageArtifacts
impl Clone for PackageArtifacts
source§fn clone(&self) -> PackageArtifacts
fn clone(&self) -> PackageArtifacts
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 PackageArtifacts
impl Debug for PackageArtifacts
source§impl Default for PackageArtifacts
impl Default for PackageArtifacts
source§fn default() -> PackageArtifacts
fn default() -> PackageArtifacts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PackageArtifacts
impl RefUnwindSafe for PackageArtifacts
impl Send for PackageArtifacts
impl Sync for PackageArtifacts
impl Unpin for PackageArtifacts
impl UnwindSafe for PackageArtifacts
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
)