pub fn add_search_view_layer(s: &mut Cursive, client: &'static client::HNClient) {
    let cb_sink = s.cb_sink().clone();
    s.screen_mut()
        .add_transparent_layer(Layer::new(get_search_view(client, cb_sink)));
}
/// Add a SearchView as a new layer to the main Cursive View
Add a SearchView as a new layer to the main Cursive View
Add a SearchView as a new layer to the main Cursive View
pub fn add_search_view_layer(s: &mut Cursive, client: &'static client::HNClient) {
    let cb_sink = s.cb_sink().clone();
    s.screen_mut()
        .add_transparent_layer(Layer::new(get_search_view(client, cb_sink)));
}
pub fn add_search_view_layer ( s : & mut Cursive , client : & ' static client :: HNClient ) { let cb_sink = s . cb_sink ( ) . clone ( ) ; s . screen_mut ( ) . add_transparent_layer ( Layer :: new ( get_search_view ( client , cb_sink ) ) ) ; }
Add a SearchView as a new layer to the main Cursive View
Add a SearchView as a new layer to the main Cursive View
s
&mut Cursive
client
&'static client::HNClient