summaryrefslogtreecommitdiff
path: root/rust/libnewsboat/src/htmlrenderer.rs
blob: d264a20a3aaafb13a5782b11fbd7ed8bad193f9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/// Types of links that HtmlRenderer collects while rendering
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum LinkType {
    /// Ordinary HTML `<a href="...">...</a>` link
    Href,

    /// HTML `<img>`
    Img,

    /// HTML `<embed>`
    Embed,

    /// HTML `<iframe>`
    Iframe,

    /// HTML `<video>`
    Video,

    /// HTML `<audio>`
    Audio,
    // This enum has to be kept in sync with enum LinkType in include/htmlrenderer.h
}