File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -175,11 +175,21 @@ impl KeyPointHint for LightPoints {
175
175
}
176
176
177
177
/// The trait that indicates we have a ordered and ranged value
178
- /// Which is used to describe the axis
178
+ /// Which is used to describe any 1D axis.
179
179
pub trait Ranged {
180
+ /// This marker decides if Plotters default [ValueFormatter](trait.ValueFormatter.html) implementation should be used.
181
+ /// This assicated type can be one of follow two types:
182
+ /// - [DefaultFormatting](struct.DefaultFormatting.html) will allow Plotters automatically impl
183
+ /// the formatter based on `Debug` trait, if `Debug` trait is not impl for the `Self::Value`,
184
+ /// [ValueFormatter](trait.ValueFormatter.html) will not impl unless you impl it manually.
185
+ ///
186
+ /// - [NoDefaultFormatting](struct.NoDefaultFormatting.html) Disable the automatical `Debug`
187
+ /// based value formatting. Thus you have to impl the
188
+ /// [ValueFormatter](trait.ValueFormatter.html) manually.
189
+ ///
180
190
type FormatOption : DefaultValueFormatOption ;
181
191
182
- /// The type of this value
192
+ /// The type of this value in this range specification
183
193
type ValueType ;
184
194
185
195
/// This function maps the value to i32, which is the drawing coordinate
You can’t perform that action at this time.
0 commit comments