Skip to main content

impl_option_try_from_sexp

Macro impl_option_try_from_sexp 

Source
macro_rules! impl_option_try_from_sexp {
    ($t:ty) => { ... };
}
Expand description

Implement TryFromSexp for Option<T> where T already implements TryFromSexp.

NULL → None, otherwise delegates to T::try_from_sexp and wraps in Some.