INNER CODE UNIT · Rust

exporter

jub0t/Concat · src/crates/concat-api/src/lib.rs:207

    pub fn exporter(&self) -> Exporter {
        self.exporter.clone()
    }

    /// Takes an embedder's export slot in place of its own, so "one export
    /// at a time" holds across a window and this API together.
    pub fn share_exporter(&mut self, exporter: Exporter) {
        self.exporter = exporter;
    }

    /// Takes an embedder's register of open projects in place of its own,
    /// so a folder the window has open is refused here, and the other way
    /// round.
    pub fn share_open_projects(&mut self, open: OpenProjects) {
        self.open = open;
    }

    /// Confines every write to `roots`: from here on a created project, an

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…