macro_rules! derive_deftly_template_AsMutSelf {
({ $($driver:tt)* } [$($aoptions:tt)*] ($($future:tt)*) $($tpassthrough:tt)*) => { ... };
($($wrong:tt)*) => { ... };
}Expand description
Implement AsMut<Self>
For Reasons, Rust does not have a blanket:
ⓘ
impl<T> AsMut<T> for T { .. }This derive macro expands to the obvious and trivial implementation, for the type that it’s applied to.
This is a derive_deftly template. Do not invoke it directly.
To use it, write: #[derive(Deftly)] #[derive_deftly(AsMutSelf)].