Trait FlattenOptionRefOption
pub trait FlattenOptionRefOption {
type Value;
// Required method
fn flatten(&self) -> Option<&Self::Value>;
}
Expand description
Helper trait to implement flatten() on Option<&Option<T>>
.
Required Associated Types§
type Value
type Value
The type of the value contained in the double option.