Crate sent_parse[][src]

Structs

ImageSlide

ImageSlide contains an image_path property that represents the location of the image on disk.

TextSlide

TextSlide represents a standard, non-image slide. It contains a text field with the text of the slide.

Enums

Slide

There are three types of slides. TextSlide, ImageSlide, and EmptySlide. Empty slides are meant to be blank, with no text or images.

Functions

generate_slides

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.