argument_or_default

Macro argument_or_default 

Source
macro_rules! argument_or_default {
    ($arg:expr, $default:expr $(,)?) => { ... };
    (, $default:expr $(,)?) => { ... };
}
Expand description

Return the given expression or the default value.