Skip to main content

option

Function option 

Source
pub fn option(element: Type, absence: impl Into<String>) -> Type
Expand description

Constructs and flattens an optional type using the shared absence policy.