MCPcopy Index your code
hub / github.com/askanium/rustplotlib / as_hex

Method as_hex

src/colors/mod.rs:68–70  ·  view source on GitHub ↗

Represent a color as a hex string.

(&self)

Source from the content-addressed store, hash-verified

66
67 /// Represent a color as a hex string.
68 pub fn as_hex(&self) -> String {
69 String::from(&self.hex)
70 }
71}

Callers 3

load_dataMethod · 0.80
load_dataMethod · 0.80
load_dataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected