Skip to main content

Module fluent

Module fluent 

Source
Expand description

Fluent API for document editing

Provides an ergonomic builder pattern for document edits:

doc.at(pos).insert_text("Hello").unwrap();
// doc.at_line(5).replace_text("New content"); // Not yet implemented
doc.select(range).wrap_with_tag("\\b1", "\\b0").unwrap();

Structs§

AtPosition
Fluent API builder for document operations at a specific position
EventAccessor
Fluent accessor for individual event properties and operations
EventEffector
Fluent API builder for event effects
EventFilter
Filter criteria for events
EventInfo
Event information with index for filtering/sorting results
EventMerger
Fluent API builder for merging events
EventOps
Fluent API builder for event operations
EventQuery
Main query builder for filtering and sorting events
EventSortOptions
Sort options
EventTimer
Fluent API builder for timing adjustments
EventToggler
Fluent API builder for toggling event types
KaraokeAdjuster
Karaoke adjuster builder
KaraokeApplicator
Karaoke applicator builder
KaraokeGenerator
Karaoke generator builder
KaraokeOps
Fluent API for ASS karaoke operations
KaraokeSplitter
Karaoke splitter builder
OwnedEvent
Owned version of Event for use in EventInfo
SelectRange
Fluent API builder for operations on a selected range
StyleApplicator
Fluent API builder for applying styles to events
StyleEditor
Fluent API builder for editing a specific style
StyleOps
Fluent API builder for style operations
TagOps
Fluent API for ASS tag operations

Enums§

EventSortCriteria
Sort criteria for events