Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/crates/polars-row/src/fixed/mod.rs
6939 views
1
macro_rules! with_arms {
2
($num_bytes:ident, $block:block, ($($values:literal),+)) => {
3
match $num_bytes {
4
$(
5
$values => {
6
#[allow(non_upper_case_globals)]
7
const $num_bytes: usize = $values;
8
$block
9
},
10
)+
11
_ => unreachable!(),
12
}
13
};
14
}
15
16
pub mod boolean;
17
pub mod decimal;
18
pub mod numeric;
19
20