From a9d2a02065cf38866c9f85f908df66b33c91b677 Mon Sep 17 00:00:00 2001 From: Raimundo Saona <37874270+saona-raimundo@users.noreply.github.com> Date: Tue, 7 Nov 2023 18:18:12 +0100 Subject: [PATCH] Update logarithmic.rs Added primitive types implementation of the `LogScalable` trait --- plotters/src/coord/ranged1d/combinators/logarithmic.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plotters/src/coord/ranged1d/combinators/logarithmic.rs b/plotters/src/coord/ranged1d/combinators/logarithmic.rs index fee36f37..f105ff01 100644 --- a/plotters/src/coord/ranged1d/combinators/logarithmic.rs +++ b/plotters/src/coord/ranged1d/combinators/logarithmic.rs @@ -46,11 +46,14 @@ impl_log_scalable!(i, u8); impl_log_scalable!(i, u16); impl_log_scalable!(i, u32); impl_log_scalable!(i, u64); +impl_log_scalable!(i, usize); impl_log_scalable!(i, i8); impl_log_scalable!(i, i16); impl_log_scalable!(i, i32); impl_log_scalable!(i, i64); +impl_log_scalable!(i, i128); +impl_log_scalable!(i, isize); impl_log_scalable!(f, f32); impl_log_scalable!(f, f64);