(&self)
| 365 | |
| 366 | impl MarkerStyle { |
| 367 | pub fn to_int32(&self) -> i32 { |
| 368 | match self { |
| 369 | MarkerStyle::None => -1, |
| 370 | MarkerStyle::Square => 0, |
| 371 | MarkerStyle::Heart => 1, |
| 372 | MarkerStyle::Triangle => 3, |
| 373 | MarkerStyle::Rhombus => 2, |
| 374 | MarkerStyle::Star => 4, |
| 375 | MarkerStyle::Moon => 5, |
| 376 | MarkerStyle::Cross => 6, |
| 377 | MarkerStyle::X => 7, |
| 378 | MarkerStyle::Circle => 8, |
| 379 | } |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | /// The ```None``` variant can be used to avoid spawning the |
no outgoing calls
no test coverage detected