pub fn lens<S: Data>(self, lens: impl Lens<S, T> + 'static) -> MenuEntry<S> {
        MenuLensWrap {
            lens,
            inner: Box::new(self),
            old_data: None,
            old_env: None,
        }
        .into()
    }
/// Wraps this menu in a lens, so that it can be added to a `Menu<S>`.
Wraps this menu in a lens, so that it can be added to a `Menu`.
Wraps this menu in a lens so that it can be added to a ` Menu ` .
pub fn lens<S: Data>(self, lens: impl Lens<S, T> + 'static) -> MenuEntry<S> {
        MenuLensWrap {
            lens,
            inner: Box::new(self),
            old_data: None,
            old_env: None,
        }
        .into()
    }
pub fn lens < S : Data > ( self , lens : impl Lens < S , T > + ' static ) -> MenuEntry < S > { MenuLensWrap { lens , inner : Box :: new ( self ) , old_data : None , old_env : None , } . into ( ) }
Wraps this menu in a lens, so that it can be added to a `Menu<S>`.
Wraps this menu in a lens so that it can be added to a ` Menu<S > ` .
self
lens
impl Lens<S, T> + 'static
self
lens
impl Lens<S, T> + 'static