sent_parse

Function generate_slides

Source
pub fn generate_slides(full_text: String) -> Vec<Slide>
Expand description

This function accepts a string and returns a Vec containing Slide instances. generate_slides is very un-opinionated, meaning you can use it in a lot more ways than the classic Suckless sent program. Currently, programs using this crate must implement display functionality for TextSlide, ImageSlide, and EmptySlide.