Trait spirit::fragment::Optional[][src]

pub trait Optional { }
Expand description

A trait similar to Stackable, but marking the ability to be optional.

This allows using the Fragment as Option<F>. This is automatically implemented for all Stackable fragments.

Implementors