pub struct ArtifactOutput {
pub name: String,
pub data: Arc<Vec<u8>>,
}Expand description
A single output file from compilation.
Fields§
§name: StringRelative filename (e.g., “foo.o”).
data: Arc<Vec<u8>>File contents (Arc-wrapped to avoid deep copies during caching).
Trait Implementations§
Source§impl Clone for ArtifactOutput
impl Clone for ArtifactOutput
Source§fn clone(&self) -> ArtifactOutput
fn clone(&self) -> ArtifactOutput
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 moreSource§impl Debug for ArtifactOutput
impl Debug for ArtifactOutput
Source§impl<'de> Deserialize<'de> for ArtifactOutput
impl<'de> Deserialize<'de> for ArtifactOutput
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 ArtifactOutput
impl PartialEq for ArtifactOutput
Source§fn eq(&self, other: &ArtifactOutput) -> bool
fn eq(&self, other: &ArtifactOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ArtifactOutput
impl Serialize for ArtifactOutput
impl StructuralPartialEq for ArtifactOutput
Auto Trait Implementations§
impl Freeze for ArtifactOutput
impl RefUnwindSafe for ArtifactOutput
impl Send for ArtifactOutput
impl Sync for ArtifactOutput
impl Unpin for ArtifactOutput
impl UnsafeUnpin for ArtifactOutput
impl UnwindSafe for ArtifactOutput
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