pub struct PackageId {
pub name: &'static str,
pub version: &'static str,
}Expand description
The identity of a format package: its name plus semver version.
Determinism is contract (ADR-0003): outputs carry this id and caches key on it, so a version bump is a new projection.
Fields§
§name: &'static strThe package’s name, unique across the registry.
version: &'static strThe package’s semver version; a bump is a new projection.
Trait Implementations§
impl Copy for PackageId
impl Eq for PackageId
impl StructuralPartialEq for PackageId
Auto Trait Implementations§
impl Freeze for PackageId
impl RefUnwindSafe for PackageId
impl Send for PackageId
impl Sync for PackageId
impl Unpin for PackageId
impl UnsafeUnpin for PackageId
impl UnwindSafe for PackageId
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