//! Support for [::rust_decimal] crate.
use crate::*;
use Decimal;
use *;
/// Implementation for [`Decimal`] to work with the [`TableRow`] derive and the [`DefaultTableCellRenderer`]
/// ```
/// # use leptos_struct_table::*;
/// # use leptos::prelude::*;
/// # use ::rust_decimal::Decimal;
/// #[derive(TableRow, Clone)]
/// #[table]
/// struct SomeStruct {
/// #[table(format(precision = 2usize))]
/// my_field: Decimal
/// }
/// ```