Skip to content

BedLinePolicy

Mojo struct 🡭

@register_passable_trivial
struct BedLinePolicy

Line policy for BED: skip blank lines and lines starting with #.

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, LinePolicy, Movable, RegisterPassable, TrivialRegisterPassable

def classify(self, line: Span[UInt8, line.origin]) -> LineAction

Args:

  • self (Self)
  • line (Span)

Returns:

LineAction