This repository has been archived on 2023-12-13. You can view files and clone it, but cannot push or open issues or pull requests.
2022-12-16 11:28:33 -05:00
|
|
|
pub mod grid;
|
|
|
|
pub use grid::*;
|
2022-12-16 12:20:31 -05:00
|
|
|
|
|
|
|
#[macro_export]
|
|
|
|
macro_rules! deref {
|
|
|
|
($($struct: ty, $target: ty),* ) => {
|
|
|
|
$(
|
|
|
|
impl ::core::ops::Deref for $struct {
|
|
|
|
type Target = $target;
|
|
|
|
|
|
|
|
fn deref(&self) -> &Self::Target {
|
|
|
|
&self.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
impl ::core::ops::DerefMut for $struct {
|
|
|
|
fn deref_mut(&mut self) -> &mut Self::Target {
|
|
|
|
&mut self.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)*
|
|
|
|
}
|
|
|
|
}
|