Macro tvix_eval::value::gen_cast_mut

source ยท
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.