Expand description
§truck-geoderive
Define some derive macros for implements geometric traits.
The macros defined here are all called by truck-geotrait, so there is no need for the user to specify a priori any dependencies on this crate.
To use the macros used in this crate, activate the feature derive in truck-geotrait.
truck-geotrait = { version = "0.3.0", features = ["derive"] }Derive Macros§
- Bounded
Curve - Derive macro generating an impl of the trait
BoundedCurvefor Enums or single field tuple structs. - Bounded
Surface - Derive macro generating an impl of the trait
BoundedSurfacefor Enums or single field tuple structs. - Cut
- Derive macro generating an impl of the trait
Cutfor Enums or single field tuple structs. - Invertible
- Derive macro generating an impl of the trait
Invertiblefor Enums or single field tuple structs. - Parameter
Division1D - Derive macro generating an impl of the trait
ParameterDivision1Dfor Enums or single field tuple structs. - Parameter
Division2D - Derive macro generating an impl of the trait
ParameterDivision2Dfor Enums or single field tuple structs. - Parametric
Curve - Derive macro generating an impl of the trait
ParametricCurvefor Enums or single field tuple structs. - Parametric
Surface - Derive macro generating an impl of the trait
ParametricSurfacefor Enums or single field tuple structs. - Parametric
Surface3D - Derive macro generating an impl of the trait
ParametricSurface3Dfor Enums or single field tuple structs. - Search
Nearest Parameter D1 - Derive macro generating an impl of the trait
SearchNearestParameter<D1>for Enums or single field tuple structs. - Search
Nearest Parameter D2 - Derive macro generating an impl of the trait
SearchNearestParameter<D2>for Enums or single field tuple structs. - Search
Parameter D1 - Derive macro generating an impl of the trait
SearchParameter<D1>for Enums or single field tuple structs. - Search
Parameter D2 - Derive macro generating an impl of the trait
SearchParameter<D2>for Enums or single field tuple structs.