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

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