Debian Codegraph @

examples/formatting.rs

raw symbols SCIP
1 #![allow(unused_must_use)]
2 use notify_rustrust-analyzer cargo notify-rust 4.18.0 crate/::Notificationrust-analyzer cargo notify-rust 4.18.0 notification/Notification#;
3
4 fn mainrust-analyzer cargo notify-rust 4.18.0 main().() {
5 Notificationrust-analyzer cargo notify-rust 4.18.0 notification/Notification#::newrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]new().()
6 .summaryrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]summary().("Formatting")
7 .appnamerust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]appname().("chromium")
8 .bodyrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]body().(&formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!("This is not chrome, but <b>{}</b>!<br/>", "bold"))
9 .iconrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]icon().("chromium")
10 .showrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]show().();
11
12 Notificationrust-analyzer cargo notify-rust 4.18.0 notification/Notification#::newrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]new().()
13 .summaryrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]summary().("Table Test - will probably not work")
14 .bodyrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]body().(&formatrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc macros/format!!(
15 "<table><tr><td>{}</td><td>cell 2</td></tr> <tr><td>cell 3</td><td>cell 4</td></tr></table>",
16 "cell 1"
17 ))
18 .iconrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]icon().("table")
19 .showrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]show().();
20
21 Notificationrust-analyzer cargo notify-rust 4.18.0 notification/Notification#::newrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]new().()
22 .summaryrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]summary().("linebreaks")
23 .bodyrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]body().(
24 "This should be a paragraph, this is why I wrote more than one line worth of text, only to make it linebreak.
25 This should be another paragraph."
26 )
27 .iconrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]icon().("thunderbird")
28 .showrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]show().();
29 Notificationrust-analyzer cargo notify-rust 4.18.0 notification/Notification#::newrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]new().()
30 .summaryrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]summary().("Paragraphs")
31 .bodyrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]body().(
32 "<p>This should be a paragraph, this is why I wrote more than one line worth of text, only to make it linebreak.</p>
33 <p>This should be another paragraph.</p> <p>This should be another paragraph.</p>"
34 )
35 .iconrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]icon().("thunderbird")
36 .showrust-analyzer cargo notify-rust 4.18.0 notification/impl#[Notification]show().();
37 }