macro_rules! gen_cast_mut {
( $name:ident, $type:ty, $expected:expr, $variant:ident) => { ... };
}
Expand description
Generate an as_*_mut/to_*_mut
accessor method that returns either the
expected type, or a type error.
macro_rules! gen_cast_mut {
( $name:ident, $type:ty, $expected:expr, $variant:ident) => { ... };
}
Generate an as_*_mut/to_*_mut
accessor method that returns either the
expected type, or a type error.