Crate truck_derivers

Crate truck_derivers 

Source
Expand description

§truck-derivers

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.
DisplayByStep
Derive macro generating an impl of the trait DisplayByStep 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.
StepCurve
Derive macro generating an impl of the trait StepCurve for enums or single field tuple structs.
StepLength
Derive macro generating an impl of the trait StepLength for enums or single field tuple structs.
StepSurface
Derive macro generating an impl of the trait StepSurface for enums or single field tuple structs.
TransformedM3
Derive macro generating an impl of the trait Transformed<Matrix3> for enums or single field tuple structs.
TransformedM4
Derive macro generating an impl of the trait Transformed<Matrix4> for enums or single field tuple structs.