forked from ordinals/ord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreview.rs
51 lines (41 loc) Β· 1.1 KB
/
preview.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
use super::*;
#[derive(Boilerplate)]
pub(crate) struct PreviewAudioHtml {
pub(crate) inscription_id: InscriptionId,
}
#[derive(Boilerplate)]
pub(crate) struct PreviewCodeHtml {
pub(crate) inscription_id: InscriptionId,
pub(crate) language: media::Language,
}
#[derive(Boilerplate)]
pub(crate) struct PreviewFontHtml {
pub(crate) inscription_id: InscriptionId,
}
#[derive(Boilerplate)]
pub(crate) struct PreviewImageHtml {
pub(crate) image_rendering: ImageRendering,
pub(crate) inscription_id: InscriptionId,
}
#[derive(Boilerplate)]
pub(crate) struct PreviewMarkdownHtml {
pub(crate) inscription_id: InscriptionId,
}
#[derive(Boilerplate)]
pub(crate) struct PreviewModelHtml {
pub(crate) inscription_id: InscriptionId,
}
#[derive(Boilerplate)]
pub(crate) struct PreviewPdfHtml {
pub(crate) inscription_id: InscriptionId,
}
#[derive(Boilerplate)]
pub(crate) struct PreviewTextHtml {
pub(crate) inscription_id: InscriptionId,
}
#[derive(Boilerplate)]
pub(crate) struct PreviewUnknownHtml;
#[derive(Boilerplate)]
pub(crate) struct PreviewVideoHtml {
pub(crate) inscription_id: InscriptionId,
}