Macro resvg::try_opt_warn_or [−][src]
macro_rules! try_opt_warn_or { ($task:expr, $ret:expr, $msg:expr) => { ... }; ($task:expr, $ret:expr, $fmt:expr, $($arg:tt)*) => { ... }; }
Unwraps Option
and invokes return $ret
on None
with a warning.