descore v1.0.4 (2014-11-02T14:23:15Z)
Dub
Repo
Vector.opDispatch
des
math
linear
vector
Vector
Undocumented in source. Be warned that the author may not have intended to support it.
T
opDispatch
[@property getter]
T
opDispatch
[@property getter]
auto
opDispatch
[@property getter]
U
opDispatch
[@property setter]
struct
Vector
(size_t N, T, alias string AS = "")
pure @
property
static if
(
AS.length > 0
)
static if
(
isOneSymbolPerFieldAccessString(AS, SEP)
)
auto
opDispatch
(
string
v
U
)
(
in
U
b
)
if
(
v.length
> 1 &&
oneOfAccessAll
(
AS
,
v
,
SEP
)
&&
isCompatibleArrayAccessString
(
v.length
,
v
)
&&
(
isCompatibleVector
!(
v.length
,
T
,
U
) ||
(
isDynamicVector
!
U
&&
is
(
typeof
(
T
(
U.datatype.init
)))
)
)
)
if
(
isCompatibleArrayAccessString
(
N
,
AS
,
SEP
) ||
AS.length
== 0
)
Meta
Source
See Implementation
des
math
linear
vector
Vector
aliases
access_string
datatype
selftype
constructors
this
functions
opAssign
opBinary
opBinaryRight
opCast
opOpAssign
opUnary
quatMlt
rebase
rot
manifest constants
dims
isDynamic
isStatic
postblits
this(this)
properties
con
e
inv
len
len2
length
mag
norm
opDispatch
static functions
fromAngle
variables
data