Struct rustc::lib::llvm::archive_ro::ArchiveRO [−] [src]

pub struct ArchiveRO {
    // some fields omitted
}
Unstable

Methods

impl ArchiveRO

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

Unstable

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 iter(&self) -> Iter

Unstable

Trait Implementations

impl Drop for ArchiveRO

fn drop(&mut self)