pub struct LoadedArtifact<A> {
pub artifact: A,
pub original_bytes: Vec<u8>,
pub source_hash: HashId<ArtifactFile>,
}Fields§
§artifact: A§original_bytes: Vec<u8>§source_hash: HashId<ArtifactFile>Trait Implementations§
Source§impl<A: Clone> Clone for LoadedArtifact<A>
impl<A: Clone> Clone for LoadedArtifact<A>
Source§fn clone(&self) -> LoadedArtifact<A>
fn clone(&self) -> LoadedArtifact<A>
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 moreAuto Trait Implementations§
impl<A> Freeze for LoadedArtifact<A>where
A: Freeze,
impl<A> RefUnwindSafe for LoadedArtifact<A>where
A: RefUnwindSafe,
impl<A> Send for LoadedArtifact<A>where
A: Send,
impl<A> Sync for LoadedArtifact<A>where
A: Sync,
impl<A> Unpin for LoadedArtifact<A>where
A: Unpin,
impl<A> UnsafeUnpin for LoadedArtifact<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for LoadedArtifact<A>where
A: UnwindSafe,
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