pub enum StepProbeOutcome {
Structure(StepAssemblyProbe),
Flat,
Failed(String),
}Expand description
What a STEP probe found, as the file panel consumes it (see
EngineState::submit_step_probe).
Variants§
Structure(StepAssemblyProbe)
Product structure: the parsed assembly is stashed for
EngineState::import_probed_step_assembly; these are its counts.
Flat
No structure worth keeping — take the flat lane.
Failed(String)
The text did not parse as Part 21; the flat lane refuses it with its own wording.
Trait Implementations§
Source§impl Clone for StepProbeOutcome
impl Clone for StepProbeOutcome
Source§fn clone(&self) -> StepProbeOutcome
fn clone(&self) -> StepProbeOutcome
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 StepProbeOutcome
impl Debug for StepProbeOutcome
Source§impl PartialEq for StepProbeOutcome
impl PartialEq for StepProbeOutcome
impl StructuralPartialEq for StepProbeOutcome
Auto Trait Implementations§
impl Freeze for StepProbeOutcome
impl RefUnwindSafe for StepProbeOutcome
impl Send for StepProbeOutcome
impl Sync for StepProbeOutcome
impl Unpin for StepProbeOutcome
impl UnsafeUnpin for StepProbeOutcome
impl UnwindSafe for StepProbeOutcome
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