Trait aoc_misc::prelude::ResultMapRef
source · pub trait ResultMapRef<Val, Error: Copy> {
// Required method
fn map_ref<Out>(
&self,
map_fn: impl FnMut(&Val) -> Out
) -> Result<Out, Error>;
}
pub trait ResultMapRef<Val, Error: Copy> {
// Required method
fn map_ref<Out>(
&self,
map_fn: impl FnMut(&Val) -> Out
) -> Result<Out, Error>;
}