Skip to main content

none

Function none 

Source
pub fn none<T: Flat>() -> impl Emit<Option<Near<T>>>
Expand description

Construct a None value for Option<Near<T>>.

Avoids the turbofish needed with maybe::<T>(None):

Foo::make(none::<Bar>())