dpq2 ~dynamic_loader (2022-03-12T19:27:44.8587456)
Dub
Repo
isValidPointType
dpq2
conv
geometric
Checks that type have "x" and "y" members of returning type "double"
@
safe
template
isValidPointType (
T
) {
@
safe
static if
(
is(T == Nullable!R, R)
)
enum
isValidPointType
;
@
safe
static if
(!(
is(T == Nullable!R, R)
))
static if
(
__traits(compiles, typeof(T.x)) && __traits(compiles, typeof(T.y))
)
enum
isValidPointType
;
@
safe
static if
(!(
is(T == Nullable!R, R)
))
static if
(!(
__traits(compiles, typeof(T.x)) && __traits(compiles, typeof(T.y))
))
enum
isValidPointType
;
}
Members
Manifest constants
isValidPointType
enum
isValidPointType
;
Undocumented in source.
isValidPointType
enum
isValidPointType
;
Undocumented in source.
isValidPointType
enum
isValidPointType
;
Undocumented in source.
Meta
Source
See Implementation
dpq2
conv
geometric
functions
binaryValueAs
toValue
mixin templates
GeometricInstancesForIntegrationTest
structs
Circle
Line
Path
templates
isGeometricType
isValidBoxType
isValidCircleType
isValidLineSegmentType
isValidLineType
isValidPathType
isValidPointType
isValidPolygon
Checks that type have "x" and "y" members of returning type "double"