pub enum WireLengthState {
Current,
RunPending,
Cancelled,
NoRun,
RolledBack,
Unrouted {
status: RouteStatus,
message: String,
},
}Expand description
Why a wire line has, or has not, a cut length.
Variants§
Current
The last applied run routed the whole model, and this wire through it.
RunPending
A run is in flight; the report on hand is from before the last edit.
Cancelled
The last run was cancelled: the report on hand is the last COMPLETED run’s, from before the edit that was cancelled.
NoRun
No run has been applied (a fresh engine, or a history that failed to parse), or the run on hand has no route for this wire.
RolledBack
The history is rolled back: the run routed a prefix of the model, which can be a different path through fewer splines.
Unrouted
The router could not route the wire; the status and its sentence are the router’s own.
Implementations§
Source§impl WireLengthState
impl WireLengthState
Trait Implementations§
Source§impl Clone for WireLengthState
impl Clone for WireLengthState
Source§impl Debug for WireLengthState
impl Debug for WireLengthState
Source§impl PartialEq for WireLengthState
impl PartialEq for WireLengthState
impl StructuralPartialEq for WireLengthState
Auto Trait Implementations§
impl Freeze for WireLengthState
impl RefUnwindSafe for WireLengthState
impl Send for WireLengthState
impl Sync for WireLengthState
impl Unpin for WireLengthState
impl UnsafeUnpin for WireLengthState
impl UnwindSafe for WireLengthState
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