[][src]Enum slides::Slide

pub enum Slide {
    Title(String),
    Image(&'static strOption<String>, String),
    List(StringVec<String>),
    Code(StringString),
    Custom(Custom),
}

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
  • Custom: a custom component with user-defined logic

Variants

Methods

impl Slide
[src]

short-hand function for creating a title slide

short-hand function for creating a image slide

short-hand function for creating a image slide

short-hand function for creating a list slide

short-hand function for creating a list slide

short-hand function for creating a list slide

Trait Implementations

impl Clone for Slide
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for Slide

impl !Sync for Slide

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]