Skip to main content
Log in

Mojo module

span

Implements the Span type.

You can import these APIs from the memory module. For example:

from memory import Span
from memory import Span

Structs

  • Span: A non-owning view of contiguous data.

Traits

  • AsBytes: The AsBytes trait denotes a type that can be returned as a immutable byte span.