pub fn new_from_root(
        connection: Rc<language_server::Connection>,
        content_root: Rc<ContentRoot>,
    ) -> Self {
        let path = Rc::new(language_server::Path::new_root(content_root.id()));
        Self { connection, content_root, path }
    }
/// Create a view of given Content Root content.
Create a view of given Content Root content.
Create a view of given Content Root content .
pub fn new_from_root(
        connection: Rc<language_server::Connection>,
        content_root: Rc<ContentRoot>,
    ) -> Self {
        let path = Rc::new(language_server::Path::new_root(content_root.id()));
        Self { connection, content_root, path }
    }
pub fn new_from_root ( connection : Rc < language_server :: Connection > , content_root : Rc < ContentRoot > , ) -> Self { let path = Rc :: new ( language_server :: Path :: new_root ( content_root . id ( ) ) ) ; Self { connection , content_root , path } }
Create a view of given Content Root content.
Create a view of given Content Root content .
connection
Rc<language_server::Connection>
content_root
Rc<ContentRoot>
connection
Rc<language_server::Connection>
content_root
Rc<ContentRoot>