BlueGit

ict rusty-teams

Files

rusty-teams / vendor / gpui-base / src / plot / scale / sealed.rs

sealed.rs

eef6c0a4 History
sealed.rs 208 B Download Raw
1/// Keeps [`PlotValue`](super::PlotValue) closed to the types it lists.
2pub trait Sealed {}
3
4impl Sealed for f32 {}
5impl Sealed for f64 {}
6#[cfg(feature = "decimal")]
7impl Sealed for rust_decimal::Decimal {}