Function option_eq

Source
pub fn option_eq<L, R>(left: Option<L>, other: R) -> bool
where L: PartialEq<R>,
Expand description

Check if the Option-wrapped L is same to R.