#[non_exhaustive]pub struct SmaliOptions {
pub line_numbers: bool,
pub param_names: bool,
}Expand description
Rendering options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.line_numbers: boolEmit .line directives from debug info.
param_names: boolEmit .param names from debug info.
Implementations§
Source§impl Options
impl Options
Sourcepub fn debug_info(on: bool) -> Options
pub fn debug_info(on: bool) -> Options
Both kinds of debug info (on) or neither, as a front end’s one
debug-info switch asks.
Sourcepub fn line_numbers(self, line_numbers: bool) -> Options
pub fn line_numbers(self, line_numbers: bool) -> Options
These options with .line directives on or off.
Sourcepub fn param_names(self, param_names: bool) -> Options
pub fn param_names(self, param_names: bool) -> Options
These options with .param names on or off.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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