Crate truck_geoderive

Crate truck_geoderive 

Source
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§

BoundedCurve
Derive macro generating an impl of the trait BoundedCurve for Enums or single field tuple structs.
BoundedSurface
Derive macro generating an impl of the trait BoundedSurface for Enums or single field tuple structs.
Cut
Derive macro generating an impl of the trait Cut for Enums or single field tuple structs.
Invertible
Derive macro generating an impl of the trait Invertible for Enums or single field tuple structs.
ParameterDivision1D
Derive macro generating an impl of the trait ParameterDivision1D for Enums or single field tuple structs.
ParameterDivision2D
Derive macro generating an impl of the trait ParameterDivision2D for Enums or single field tuple structs.
ParametricCurve
Derive macro generating an impl of the trait ParametricCurve for Enums or single field tuple structs.
ParametricSurface
Derive macro generating an impl of the trait ParametricSurface for Enums or single field tuple structs.
ParametricSurface3D
Derive macro generating an impl of the trait ParametricSurface3D for Enums or single field tuple structs.
SearchNearestParameterD1
Derive macro generating an impl of the trait SearchNearestParameter<D1> for Enums or single field tuple structs.
SearchNearestParameterD2
Derive macro generating an impl of the trait SearchNearestParameter<D2> for Enums or single field tuple structs.
SearchParameterD1
Derive macro generating an impl of the trait SearchParameter<D1> for Enums or single field tuple structs.
SearchParameterD2
Derive macro generating an impl of the trait SearchParameter<D2> for Enums or single field tuple structs.