pub enum PolygonSceneOracle {
ExactPathCost {
expected_cost: f64,
witness_path: Vec<Point2>,
},
NoPath {
proof: NoPathProof,
},
}Expand description
Expected search outcome attached to a polygon benchmark fixture.
Variants§
ExactPathCost
Reachable: witness polyline must be walkable and match expected_cost within epsilon.
NoPath
Unreachable: structural separator proof checked at load time.
Fields
§
proof: NoPathProofTrait Implementations§
Source§impl Clone for PolygonSceneOracle
impl Clone for PolygonSceneOracle
Source§fn clone(&self) -> PolygonSceneOracle
fn clone(&self) -> PolygonSceneOracle
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 moreSource§impl Debug for PolygonSceneOracle
impl Debug for PolygonSceneOracle
Source§impl PartialEq for PolygonSceneOracle
impl PartialEq for PolygonSceneOracle
impl StructuralPartialEq for PolygonSceneOracle
Auto Trait Implementations§
impl Freeze for PolygonSceneOracle
impl RefUnwindSafe for PolygonSceneOracle
impl Send for PolygonSceneOracle
impl Sync for PolygonSceneOracle
impl Unpin for PolygonSceneOracle
impl UnsafeUnpin for PolygonSceneOracle
impl UnwindSafe for PolygonSceneOracle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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