parent
56aad3942f
commit
0cd741f815
1 changed files with 5 additions and 0 deletions
|
|
@ -38,8 +38,13 @@ pub struct Text {
|
||||||
text: String,
|
text: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub struct Image {
|
||||||
|
source: PathBuf,
|
||||||
|
}
|
||||||
|
|
||||||
pub enum SlideWidget {
|
pub enum SlideWidget {
|
||||||
Text(Text),
|
Text(Text),
|
||||||
|
Image(Image),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue