Crate sent_parse

Source

Structs§

  • ImageSlide contains an image_path property that represents the location of the image on disk.
  • TextSlide represents a standard, non-image slide. It contains a text field with the text of the slide.

Enums§

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

Functions§

  • 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.