The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
toSlice
mir
ndslice
slice
Reurns: Ndslice view in the same data.
auto
toSlice
(Slice!(Iterator, N, kind) val)
auto
toSlice
(Slice!(Iterator, N, kind) val)
auto
toSlice
(Slice!(Iterator, N, kind) val)
auto
toSlice
(T[] val)
auto
toSlice
(T val)
auto
toSlice
(
T
)
(
T
val
)
if
(
hasAsSlice
!
T
||
__traits(
hasMember
,
T
, "moveToSlice")
)
auto
toSlice
(T val)
See Also
isConvertibleToSlice
.
Meta
Source
See Implementation
mir
ndslice
slice
aliases
Canonical
Contiguous
IteratorOf
Slice
SliceKind
Universal
enums
isConvertibleToSlice
isSlice
kindOf
mir_slice_kind
functions
ndassign
sliced
slicedField
slicedNdField
toSlice
structs
CoordinateValue
Structure
mir_slice
templates
hasAsSlice
toSlices
Reurns: Ndslice view in the same data.