init(unsafeElements:)
Unsafely convert a typed span to a raw span.
Declaration
init<Element>(unsafeElements elements: consuming MutableSpan<Element>)Parameters
- elements:
An existing
MutableSpan<Element>, from which thisMutableRawSpanwill inherit its lifetime.
Discussion
Creates a MutableRawSpan over the memory represented by a MutableSpan<Element>.