Skip to main content

Mojo module

span

Implements the Span type.

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

from utils import Span
from utils 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.