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

Method get_type

src/scales/band.rs:145–147  ·  view source on GitHub ↗

Get the type of the scale.

(&self)

Source from the content-addressed store, hash-verified

143impl Scale<String> for ScaleBand {
144 /// Get the type of the scale.
145 fn get_type(&self) -> ScaleType {
146 ScaleType::Band
147 }
148
149 /// Get the range value for the given domain entry.
150 fn scale(&self, domain: &String) -> f32 {

Callers 3

generate_ticksMethod · 0.45
load_dataMethod · 0.45
load_dataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected