Type Definition tupleops::AllSome [−][src]
pub type AllSome<Tpl> = <Tpl as TupleAllSome<Tpl>>::Type;
This is supported on crate feature
all-some
only.Expand description
The type when a tuple of Options is element-wise unwrapped.
use same_types::assert_same_types;
use tupleops::AllSome;
assert_same_types!(
AllSome<(Option<u8>, Option<u16>, Option<u32>)>,
(u8, u16, u32),
);
See also: all_some(), TupleAllSome.