DefaultLinePolicy
Mojo struct 🡭
DefaultLinePolicy
Section titled “DefaultLinePolicy”@register_passable_trivialstruct DefaultLinePolicyThe default line policy for delimited readers.
Skips blank lines (SKIP) and yields all non-empty lines (YIELD).
Implemented traits
Section titled “Implemented traits”AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, LinePolicy, Movable, RegisterPassable, TrivialRegisterPassable
Methods
Section titled “Methods”classify
Section titled “classify”fn classify(self, line: Span[UInt8]) -> LineActionArgs:
- self (
Self) - line (
Span[UInt8])
Returns:
LineAction