pub enum Slide {
Text(String),
Image(&'static str, String),
List(String, Vec<String>),
Code(String, String),
}
Expand description
Represents a single slide.
Available slide types:
- Image: displays an image and a caption string
- Test: displays a string
- List: a list of items with a title
- Code: a code snipped with a title
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Slide
impl Send for Slide
impl Sync for Slide
impl Unpin for Slide
impl UnwindSafe for Slide
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more