pub struct ShapeVersion(/* private fields */);Expand description
The version of the SHAPE a generator renders: a different token layout, a different set of roles, a different contract realized.
It is deliberately not the package version, which moves for reasons that cannot reach the output and is worthless as the fact a reader judges staleness by.
It is not a segment of any preimage either: a bump renames no identity, because which generator rendered a thing is a fact ABOUT the derivation and rides Provenance, while what the thing IS rides the preimage its grammar declares.
Implementations§
Trait Implementations§
Source§impl Clone for ShapeVersion
impl Clone for ShapeVersion
Source§fn clone(&self) -> ShapeVersion
fn clone(&self) -> ShapeVersion
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 moreimpl Copy for ShapeVersion
Source§impl Debug for ShapeVersion
impl Debug for ShapeVersion
impl Eq for ShapeVersion
Source§impl Hash for ShapeVersion
impl Hash for ShapeVersion
Source§impl PartialEq for ShapeVersion
impl PartialEq for ShapeVersion
impl StructuralPartialEq for ShapeVersion
Auto Trait Implementations§
impl Freeze for ShapeVersion
impl RefUnwindSafe for ShapeVersion
impl Send for ShapeVersion
impl Sync for ShapeVersion
impl Unpin for ShapeVersion
impl UnsafeUnpin for ShapeVersion
impl UnwindSafe for ShapeVersion
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