Struct tectonic::io::memory::MemoryIo[][src]

pub struct MemoryIo {
    pub files: Rc<RefCell<HashMap<OsString, Vec<u8>>>>,
    // some fields omitted
}

Fields

Methods

impl MemoryIo
[src]

Trait Implementations

impl IoProvider for MemoryIo
[src]

Open the "primary" input file, which in the context of TeX is the main input that it's given. When the build is being done using the filesystem and the input is a file on the filesystem, this function isn't necesssarily that important, but those conditions don't always hold. Read more

Open a format file with the specified name. Format files have a specialized entry point because IOProviders may wish to handle them specially: namely, to munge the filename to one that includes the current version of the Tectonic engine, since the format contents depend sensitively on the engine internals. Read more

Save an a format dump in some way that this provider may be able to recover in the future. This awkward interface is needed for to write formats with their special munged file names. Read more

Auto Trait Implementations

impl !Send for MemoryIo

impl !Sync for MemoryIo