pub enum BundleStatus {
Built,
BundlesOff,
TightBend,
BuildFailed,
}Expand description
Why a segment’s bundle solid is or is not there.
A ROUTE has had a status since the router existed, because “no route” is an answer about the model rather than a failure of it. A bundle’s refusals are the same kind of answer — a spline that turns tighter than the bundle can be pushed round is a thing the user drew, not a thing that went wrong — so it gets a status too, and the panel keys its colour and its word on that rather than on the shape of an error string.
Variants§
Built
The solid is built and registered under solid_name.
BundlesOff
buildBundles is off: the routing is there and the geometry deliberately
is not.
TightBend
The spline bends TIGHTER than the bundle’s own radius, so the swept
surface would pass through itself. error names the bend — where it is,
the radius of curvature there, and how far the bundle reaches into it.
BuildFailed
The sweep failed for some other reason; error carries it.
Implementations§
Trait Implementations§
Source§impl Clone for BundleStatus
impl Clone for BundleStatus
impl Copy for BundleStatus
Source§impl Debug for BundleStatus
impl Debug for BundleStatus
Source§impl<'de> Deserialize<'de> for BundleStatus
impl<'de> Deserialize<'de> for BundleStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for BundleStatus
Source§impl PartialEq for BundleStatus
impl PartialEq for BundleStatus
Source§impl Serialize for BundleStatus
impl Serialize for BundleStatus
impl StructuralPartialEq for BundleStatus
Auto Trait Implementations§
impl Forget for BundleStatus
impl Freeze for BundleStatus
impl RefUnwindSafe for BundleStatus
impl Send for BundleStatus
impl Sync for BundleStatus
impl Unpin for BundleStatus
impl UnsafeUnpin for BundleStatus
impl UnwindSafe for BundleStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.