Struct proguard::LineMapping
source · pub struct LineMapping {
pub startline: usize,
pub endline: usize,
pub original_startline: Option<usize>,
pub original_endline: Option<usize>,
}Expand description
A proguard line mapping.
Maps start/end lines of a minified file to original start/end lines.
All line mappings are 1-based and inclusive.
Fields§
§startline: usizeStart Line, 1-based.
endline: usizeEnd Line, inclusive.
original_startline: Option<usize>The original Start Line.
original_endline: Option<usize>The original End Line.
Trait Implementations§
source§impl Clone for LineMapping
impl Clone for LineMapping
source§fn clone(&self) -> LineMapping
fn clone(&self) -> LineMapping
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LineMapping
impl Debug for LineMapping
source§impl PartialEq for LineMapping
impl PartialEq for LineMapping
source§fn eq(&self, other: &LineMapping) -> bool
fn eq(&self, other: &LineMapping) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LineMapping
Auto Trait Implementations§
impl RefUnwindSafe for LineMapping
impl Send for LineMapping
impl Sync for LineMapping
impl Unpin for LineMapping
impl UnwindSafe for LineMapping
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more