macro_rules! rental {
{
mod $rent_mod:ident {
$($items:tt)*
}
} => { ... };
{
@ITEMS pub struct $rent:ident<$([$lt:tt]),*$(,)* $($param:ident),*> [$($clause:tt)*] (
mut $owner_ty:ty,
$rental_ty:ty$(,)*
);
$($rest:tt)*
} => { ... };
{
@ITEMS pub struct $rent:ident<$([$lt:tt]),*$(,)* $($param:ident),*> [$($clause:tt)*] (
$owner_ty:ty,
$rental_ty:ty$(,)*
);
$($rest:tt)*
} => { ... };
{ @ITEMS } => { ... };
{
@ALIASES pub struct $rent:ident<$([$lt:tt]),*$(,)* $($param:ident),*> [$($clause:tt)*] (
mut $owner_ty:ty,
$rental_ty:ty$(,)*
);
$($rest:tt)*
} => { ... };
{
@ALIASES pub struct $rent:ident<$([$lt:tt]),*$(,)* $($param:ident),*> [$($clause:tt)*] (
$owner_ty:ty,
$rental_ty:ty$(,)*
);
$($rest:tt)*
} => { ... };
{ @ALIASES } => { ... };
}