pub struct SourceBundle {
pub origin: SelectionOrigin,
/* private fields */
}Fields§
§origin: SelectionOriginImplementations§
Source§impl SourceBundle
impl SourceBundle
pub fn files(&self) -> &[(ArtifactPath, Arc<[u8]>)]
Sourcepub fn deterministic_zip(&self, limits: ArchiveLimits) -> Result<Vec<u8>>
pub fn deterministic_zip(&self, limits: ArchiveLimits) -> Result<Vec<u8>>
Package exact member bytes into a new deterministic ZIP. It is not an original archive echo and does not rewrite names, references or encodings.
Trait Implementations§
Source§impl Clone for SourceBundle
impl Clone for SourceBundle
Auto Trait Implementations§
impl Freeze for SourceBundle
impl RefUnwindSafe for SourceBundle
impl Send for SourceBundle
impl Sync for SourceBundle
impl Unpin for SourceBundle
impl UnsafeUnpin for SourceBundle
impl UnwindSafe for SourceBundle
Blanket Implementations§
impl<T> Allocation for T
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