tiny.syn.SpanLimits
Defined in span.capacity.
The one limit the caller chooses for span storage.
API (1)
Fields and members
Public fields and members.
Source
Source: lib/syn/src/span/capacity.zig:23
zig
/// The one limit the caller chooses for span storage. A caller fills it in once to say how long a/// line may be before its spans are dropped. `Capacity.derive` and `Storage.init` both take it.pub const Limits = struct { /// The text limit, in bytes. A longer line is still scanned but keeps no spans. The storage /// holds exactly this many spans. Zero is allowed and gives storage with no room, so every /// nonempty line is discarded. The README example uses 4096. max_text_bytes: usize,};Source: lib/syn/src/root.zig:46
zig
pub const SpanLimits = span.Limits;Also reachable as
Audit
| Definitions | 1 |
|---|---|
| Public names | 3 |
| Members | 1 |
| Version | 26.7.0 |
| Revision | daab053ee433 |