MCPcopy Index your code
hub / github.com/elementh/random_color / hue

Method hue

src/lib.rs:101–105  ·  view source on GitHub ↗

Sets the hue setting.

(&mut self, hue: Gamut)

Source from the content-addressed store, hash-verified

99
100 /// Sets the hue setting.
101 pub fn hue(&mut self, hue: Gamut) -> &mut RandomColor {
102 self.hue = Some(hue);
103
104 self
105 }
106
107 /// Removes the luminosity setting.
108 pub fn luminosity(&mut self, luminosity: Luminosity) -> &mut RandomColor {

Calls

no outgoing calls