[][src]Struct proguard::Parser

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

Parses a proguard file.

Methods

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

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

Creates a parser from a Cow buffer.

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

Creates a parser from a slice.

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

Creates a parser from a vec.

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

Creates a parser from a path.

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

Calculates the UUID of the mapping file the parser looks at.

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

Returns true if the mapping file contains line information.

pub fn classes(&self) -> ClassIter[src]

Locates a class by an obfuscated alias.

Auto Trait Implementations

impl<'a> RefUnwindSafe for Parser<'a>

impl<'a> Send for Parser<'a>

impl<'a> Sync for Parser<'a>

impl<'a> Unpin for Parser<'a>

impl<'a> UnwindSafe for Parser<'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.