Skip to content

FastqParserLike

Mojo trait 🡭

Static interface shared by every parser flavor (duck-typed iterators below are parameterized on this).

AnyType, Movable

fn def __init__(out self, *, deinit move: Self)

Create a new instance of the value by moving the value of another.

Args:

  • move (_Self): The value to move.
  • self (_Self)

Returns:

_Self

fn def has_more(self) -> Bool

Args:

  • self (_Self)

Returns:

Bool

fn def next_view(mut self) -> FastqView[MutUntrackedOrigin]

Args:

  • self (_Self)

Returns:

FastqView[MutUntrackedOrigin]

Raises:

fn def next_record(mut self) -> FastqRecord

Args:

  • self (_Self)

Returns:

FastqRecord

Raises:

fn def next_batch(mut self, max_records: Int) -> FastqBatch

Args:

  • self (_Self)
  • max_records (Int)

Returns:

FastqBatch

Raises: