[][src]Struct proguard::MappingView

pub struct MappingView<'a> { /* fields omitted */ }

Represents a view over a mapping text file.

Methods

impl<'a> MappingView<'a>[src]

pub fn from_cow(cow: Cow<'a, [u8]>) -> Result<MappingView<'a>>[src]

Creates a mapping view from a Cow buffer.

pub fn from_slice(buffer: &'a [u8]) -> Result<MappingView<'a>>[src]

Creates a mapping from a borrowed byte slice.

pub fn from_vec(buffer: Vec<u8>) -> Result<MappingView<'a>>[src]

Creates a mapping from an owned vector.

pub fn from_path<P: AsRef<Path>>(path: P) -> Result<MappingView<'a>>[src]

Opens a mapping view from a file on the file system.

pub fn uuid(&self) -> Uuid[src]

Returns the UUID of the mapping file.

pub fn has_line_info(&self) -> bool[src]

Returns true if the mapping file contains line information.

pub fn find_class(&self, alias: &str) -> Option<&Class<'a>>[src]

Locates a class by an obfuscated alias.

pub fn header(&self) -> Option<&Header>[src]

Returns the mapping header.

Auto Trait Implementations

impl<'a> RefUnwindSafe for MappingView<'a>

impl<'a> Send for MappingView<'a>

impl<'a> Sync for MappingView<'a>

impl<'a> Unpin for MappingView<'a>

impl<'a> UnwindSafe for MappingView<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.