mecca ~master (2021-09-12T14:37:04Z)
Dub
Repo
FixedArray.safeSetPrefix
mecca
containers
arrays
FixedArray
Set the FixedArray to whatever fits from the beginning of arr2
void
safeSetPrefix
(const(T)[] arr2)
void
safeSetPrefix
(T[] arr2)
struct
FixedArray
(T, size_t N, bool InitializeMembers = true)
static if
(!(
isAssignable!(T, const(T))
))
void
safeSetPrefix
(
T
[]
arr2
)
Meta
Source
See Implementation
mecca
containers
arrays
FixedArray
aliases
ElementType
functions
opOpAssign
safeSetPrefix
safeSetSuffix
properties
array
capacity
len
length
Set the FixedArray to whatever fits from the beginning of arr2