[−][src]Function badgen::write_badge
pub fn write_badge<W>(
w: &mut W,
style: &Style<'_>,
status: &str,
label: Option<&str>
) -> Result<(), Error> where
W: Write,
Writes an SVG badge to a fmt::Write
given a style, status and optional
label.
Uses the default font provided by this library.