pub enum RadiusSpec {
Unresolved {
form: Option<RadiusForm>,
},
Constant {
radius: Length,
},
Chordal {
chord_length: Length,
},
Variable {
points: Vec<VariableRadius>,
},
}Expand description
Radius assignment along filleted edges.
Variants§
Unresolved
Radius law is retained but not fully resolved.
Fields
§
form: Option<RadiusForm>Structural law form, when independently identified.
Constant
Same radius along the whole edge chain.
Chordal
Constant transverse chord length across the fillet surface.
Variable
Radius varying along the edge chain per explicit control points.
Fields
§
points: Vec<VariableRadius>Radius samples along the edge chain, in chain-parameter order.
Trait Implementations§
Source§impl Clone for RadiusSpec
impl Clone for RadiusSpec
Source§fn clone(&self) -> RadiusSpec
fn clone(&self) -> RadiusSpec
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 RadiusSpec
impl Debug for RadiusSpec
Source§impl<'de> Deserialize<'de> for RadiusSpec
impl<'de> Deserialize<'de> for RadiusSpec
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
Source§impl JsonSchema for RadiusSpec
impl JsonSchema for RadiusSpec
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RadiusSpec
impl PartialEq for RadiusSpec
Source§impl Serialize for RadiusSpec
impl Serialize for RadiusSpec
impl StructuralPartialEq for RadiusSpec
Auto Trait Implementations§
impl Freeze for RadiusSpec
impl RefUnwindSafe for RadiusSpec
impl Send for RadiusSpec
impl Sync for RadiusSpec
impl Unpin for RadiusSpec
impl UnsafeUnpin for RadiusSpec
impl UnwindSafe for RadiusSpec
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