Initial commit
This commit is contained in:
commit
9282b8565d
24 changed files with 599 additions and 0 deletions
20
crates/std/src/arena/macros.rs
Normal file
20
crates/std/src/arena/macros.rs
Normal file
|
@ -0,0 +1,20 @@
|
|||
/// Combination of pointers.
|
||||
#[macro_export]
|
||||
#[doc(hidden)]
|
||||
macro_rules! _make_comb {
|
||||
($(
|
||||
$item:item
|
||||
)*) => {$(
|
||||
#[derive(
|
||||
Debug,
|
||||
Clone,
|
||||
Copy,
|
||||
PartialEq,
|
||||
Eq,
|
||||
PartialOrd,
|
||||
Ord,
|
||||
Hash,
|
||||
)]
|
||||
$item
|
||||
)*};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue