pub fn plugin_stopped<'a, T>(&'a mut self, view_id: T, plugin: &str,
                                 plugin_id: PluginPid, code: i32)
        where T: Into<Option<&'a ViewIdentifier>> {
        {
            self.styles.remove_layer(plugin_id);
            self.view.set_dirty();
            self.render();
        }
        let view_id = view_id.into().unwrap_or(&self.view.view_id);
        self.doc_ctx.plugin_stopped(view_id, plugin, code);
        self.doc_ctx.update_cmds(view_id, plugin, &Vec::new());
    }
/// Notifies client that the named plugin has stopped.
///
/// `code` is reserved for future use.
Notifies client that the named plugin has stopped.
`code` is reserved for future use.
Notifies client that the named plugin has stopped . ` code ` is reserved for future use .
pub fn plugin_stopped<'a, T>(&'a mut self, view_id: T, plugin: &str,
                                 plugin_id: PluginPid, code: i32)
        where T: Into<Option<&'a ViewIdentifier>> {
        {
            self.styles.remove_layer(plugin_id);
            self.view.set_dirty();
            self.render();
        }
        let view_id = view_id.into().unwrap_or(&self.view.view_id);
        self.doc_ctx.plugin_stopped(view_id, plugin, code);
        self.doc_ctx.update_cmds(view_id, plugin, &Vec::new());
    }
pub fn plugin_stopped < ' a , T > ( & ' a mut self , view_id : T , plugin : & str , plugin_id : PluginPid , code : i32 ) where T : Into < Option < & ' a ViewIdentifier > > { { self . styles . remove_layer ( plugin_id ) ; self . view . set_dirty ( ) ; self . render ( ) ; } let view_id = view_id . into ( ) . unwrap_or ( & self . view . view_id ) ; self . doc_ctx . plugin_stopped ( view_id , plugin , code ) ; self . doc_ctx . update_cmds ( view_id , plugin , & Vec :: new ( ) ) ; }
Notifies client that the named plugin has stopped.
Notifies client that the named plugin has stopped .
&'a mut self
view_id
T
plugin
&str
plugin_id
PluginPid
code
i32