[−][src]Struct proguard::MappingView
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,