pub struct GeometryBoundCoverageArtifact { /* private fields */ }Expand description
Coverage synthesis proof bound to checked finite planar geometry.
Implementations§
Source§impl GeometryBoundCoverageArtifact
impl GeometryBoundCoverageArtifact
Sourcepub fn build(
coverage: CoverageSynthesisArtifact,
geometry: CoverageGeometry,
coverage_limits: CoverageSynthesisLimits,
geometry_limits: CoverageGeometryLimits,
) -> Result<Self>
pub fn build( coverage: CoverageSynthesisArtifact, geometry: CoverageGeometry, coverage_limits: CoverageSynthesisLimits, geometry_limits: CoverageGeometryLimits, ) -> Result<Self>
Bind an existing coverage proof to checked state coordinates.
Sourcepub fn geometry(&self) -> &CoverageGeometry
pub fn geometry(&self) -> &CoverageGeometry
Checked coordinates in state order.
Sourcepub fn coverage(&self) -> &CoverageSynthesisArtifact
pub fn coverage(&self) -> &CoverageSynthesisArtifact
Nested CoverageSynthesisArtifact.
Sourcepub fn verify(
&self,
coverage_limits: CoverageSynthesisLimits,
geometry_limits: CoverageGeometryLimits,
) -> Result<()>
pub fn verify( &self, coverage_limits: CoverageSynthesisLimits, geometry_limits: CoverageGeometryLimits, ) -> Result<()>
Recheck geometry, coverage, optimality, and the outer binding.
Sourcepub fn encode(
&self,
coverage_limits: CoverageSynthesisLimits,
geometry_limits: CoverageGeometryLimits,
decode_limits: GeometryBoundCoverageDecodeLimits,
) -> Result<Vec<u8>>
pub fn encode( &self, coverage_limits: CoverageSynthesisLimits, geometry_limits: CoverageGeometryLimits, decode_limits: GeometryBoundCoverageDecodeLimits, ) -> Result<Vec<u8>>
Encode canonical HOLOSGEO version 1 bytes.
Sourcepub fn decode(
bytes: &[u8],
coverage_limits: CoverageSynthesisLimits,
geometry_limits: CoverageGeometryLimits,
decode_limits: GeometryBoundCoverageDecodeLimits,
) -> Result<Self>
pub fn decode( bytes: &[u8], coverage_limits: CoverageSynthesisLimits, geometry_limits: CoverageGeometryLimits, decode_limits: GeometryBoundCoverageDecodeLimits, ) -> Result<Self>
Decode and verify canonical HOLOSGEO version 1 bytes.
Trait Implementations§
Source§impl Clone for GeometryBoundCoverageArtifact
impl Clone for GeometryBoundCoverageArtifact
Source§fn clone(&self) -> GeometryBoundCoverageArtifact
fn clone(&self) -> GeometryBoundCoverageArtifact
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 Freeze for GeometryBoundCoverageArtifact
impl RefUnwindSafe for GeometryBoundCoverageArtifact
impl Send for GeometryBoundCoverageArtifact
impl Sync for GeometryBoundCoverageArtifact
impl Unpin for GeometryBoundCoverageArtifact
impl UnsafeUnpin for GeometryBoundCoverageArtifact
impl UnwindSafe for GeometryBoundCoverageArtifact
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more