GtfLinePolicy
Mojo struct 🡭
GtfLinePolicy
Section titled “GtfLinePolicy”@register_passable_trivialstruct GtfLinePolicyGTF: skip blank lines and lines starting with #.
Implemented traits
Section titled “Implemented traits”AnyType, Copyable, Deinitable, ImplicitlyCopyable, LinePolicy, Movable, RegisterPassable, TrivialRegisterPassable
Methods
Section titled “Methods”classify
Section titled “classify”fn def classify(self, line: Span[UInt8]) -> LineActionArgs:
- self (
Self) - line (
Span[UInt8])
Returns:
LineAction