Struct rustc_llvm::archive_ro::ArchiveRO [] [src]

pub struct ArchiveRO {
    // some fields omitted
}
Unstable (rustc_private)

Methods

impl ArchiveRO
[src]

fn open(dst: &Path) -> Option<ArchiveRO>

Unstable (rustc_private)

Opens a static archive for read-only purposes. This is more optimized than the open method because it uses LLVM's internal Archive class rather than shelling out to ar for everything.

If this archive is used with a mutable method, then an error will be raised.

fn raw(&self) -> ArchiveRef

fn iter(&self) -> Iter

Trait Implementations

impl Drop for ArchiveRO
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more