Struct proguard::MappingView
[−]
[src]
pub struct MappingView<'a> { /* fields omitted */ }
Represents a view over a mapping text file.
Methods
impl<'a> MappingView<'a>
[src]
fn from_cow(cow: Cow<'a, [u8]>) -> Result<MappingView<'a>>
[src]
Creates a mapping view from a Cow buffer.
fn from_slice(buffer: &'a [u8]) -> Result<MappingView<'a>>
[src]
Creates a mapping from a borrowed byte slice.
fn from_vec(buffer: Vec<u8>) -> Result<MappingView<'a>>
[src]
Creates a mapping from an owned vector.
fn from_path<P: AsRef<Path>>(path: P) -> Result<MappingView<'a>>
[src]
Opens a mapping view from a file on the file system.
fn uuid(&self) -> Uuid
[src]
Returns the UUID of the mapping file.
fn has_line_info(&self) -> bool
[src]
Returns true
if the mapping file contains line information.
fn find_class<'this>(&'this self, alias: &str) -> Option<&'this Class<'a>>
[src]
Locates a class by an obfuscated alias.