Trait shadow_rs::core::configuration::Flatten
source · pub trait Flatten<T> {
// Required methods
fn flatten(self) -> Option<T>;
fn flatten_ref(&self) -> Option<&T>;
}
Expand description
A trait for Option
-like types that can be flattened into a single Option
.