pub enum Slide {
Title(String),
Image(&'static str, String),
List(String, Vec<String>),
Code(String, String),
}
Expand description
Represents a single slide.
Available slide types:
- Title: displays a string with big font
- Image: displays an image and a caption string
- List: a list of items with a title
- Code: a code snipped with a title
Variants
Implementations
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