init(unsafeElements:)
Unsafely view a typed span as a raw span.
Declaration
init<Element>(unsafeElements span: Span<Element>)Parameters
- span:
An existing
Span<Element>, from which thisRawSpanwill inherit its lifetime.
Discussion
Creates a RawSpan over the memory represented by a Span<Element>