pub struct PolygonSceneFixture {
pub scene_id: String,
pub family: String,
pub scene: PolygonScene,
pub request: PolygonSearchRequest,
pub oracle: PolygonSceneOracle,
}Expand description
One validated polygon benchmark scene with request and oracle metadata.
Fields§
§scene_id: String§family: String§scene: PolygonScene§request: PolygonSearchRequest§oracle: PolygonSceneOracleImplementations§
Source§impl PolygonSceneFixture
impl PolygonSceneFixture
Sourcepub fn benchmark_slice(&self) -> &'static str
pub fn benchmark_slice(&self) -> &'static str
Criterion / report slice: "reachable" or "no-path".
Sourcepub fn benchmark_path(&self) -> String
pub fn benchmark_path(&self) -> String
Stable path fragment {slice}/{family}/{scene_id} for report grouping.
Sourcepub fn benchmark_id(&self, algorithm: &str) -> String
pub fn benchmark_id(&self, algorithm: &str) -> String
Full benchmark id {algorithm}/{benchmark_path} for capture reports.
Sourcepub fn benchmark_reason(&self) -> String
pub fn benchmark_reason(&self) -> String
Human-readable reason string for scorecards and catalog exports.
Trait Implementations§
Source§impl Clone for PolygonSceneFixture
impl Clone for PolygonSceneFixture
Source§fn clone(&self) -> PolygonSceneFixture
fn clone(&self) -> PolygonSceneFixture
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 PolygonSceneFixture
impl Debug for PolygonSceneFixture
Source§impl PartialEq for PolygonSceneFixture
impl PartialEq for PolygonSceneFixture
impl StructuralPartialEq for PolygonSceneFixture
Auto Trait Implementations§
impl Freeze for PolygonSceneFixture
impl RefUnwindSafe for PolygonSceneFixture
impl Send for PolygonSceneFixture
impl Sync for PolygonSceneFixture
impl Unpin for PolygonSceneFixture
impl UnsafeUnpin for PolygonSceneFixture
impl UnwindSafe for PolygonSceneFixture
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