pub struct SizeLimit {
pub op_index: usize,
pub key: u64,
pub largest: Option<f64>,
pub sides: Option<RoundSides>,
}Expand description
The largest size a fillet or chamfer builds at on the solid before it.
Fields§
§op_index: usizeThe op it is the limit of.
key: u64SolidOp::size_limit_key of the op it was worked out for.
largest: Option<f64>Its first size at the limit, mm: a fillet’s radius, a chamfer’s
distance (with two distances, the first at their common scale).
None where no size short of the solid’s own fails.
sides: Option<RoundSides>A round or chamfer set back by distances, or an automatic one: where
its first edge is read and each face’s own limit, the least over its
edges. None for any other op.
Trait Implementations§
impl Copy for SizeLimit
Source§impl<'de> Deserialize<'de> for SizeLimit
impl<'de> Deserialize<'de> for SizeLimit
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for SizeLimit
Auto Trait Implementations§
impl Forget for SizeLimit
impl Freeze for SizeLimit
impl Move for SizeLimit
impl RefUnwindSafe for SizeLimit
impl Send for SizeLimit
impl Sync for SizeLimit
impl Unpin for SizeLimit
impl UnsafeUnpin for SizeLimit
impl UnwindSafe for SizeLimit
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