dental-notation 1.0.0

Library converting between different tooth numbering systems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Formatters to display a complete jaw.

pub use crate::display::cli::*;
use crate::NotationKind;
use crate::Tooth;
use alloc::string::String;
mod cli;

enum JawKind {
    Top,
    Bottom,
}

/// Trait needed to format a complete jaw
pub trait ToothDisplay {
    fn format(notation: &NotationKind, permanent: bool, selected_value: &Option<Tooth>) -> String;
}