pub fn add_comment_view_layer(
    s: &mut Cursive,
    client: &'static client::HNClient,
    story: &client::Story,
    pop_layer: bool,
) {
    let async_view = async_view::get_comment_view_async(s, client, story);
    if pop_layer {
        s.pop_layer();
    }
    s.screen_mut().add_transparent_layer(Layer::new(async_view));
}
/// Add a CommentView as a new layer to the main Cursive View
Add a CommentView as a new layer to the main Cursive View
Add a CommentView as a new layer to the main Cursive View
pub fn add_comment_view_layer(
    s: &mut Cursive,
    client: &'static client::HNClient,
    story: &client::Story,
    pop_layer: bool,
) {
    let async_view = async_view::get_comment_view_async(s, client, story);
    if pop_layer {
        s.pop_layer();
    }
    s.screen_mut().add_transparent_layer(Layer::new(async_view));
}
pub fn add_comment_view_layer ( s : & mut Cursive , client : & ' static client :: HNClient , story : & client :: Story , pop_layer : bool , ) { let async_view = async_view :: get_comment_view_async ( s , client , story ) ; if pop_layer { s . pop_layer ( ) ; } s . screen_mut ( ) . add_transparent_layer ( Layer :: new ( async_view ) ) ; }
Add a CommentView as a new layer to the main Cursive View
Add a CommentView as a new layer to the main Cursive View
s
&mut Cursive
client
&'static client::HNClient
story
&client::Story
pop_layer
bool