#[non_exhaustive]pub enum GenerateDwarf {
Lines,
Full,
}
Expand description
Configuration of how DWARF debugging information may be generated.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Lines
Only generate line tables to map binary offsets back to source locations.
Full
Generate full debugging information for both line numbers and variables/locals/operands.
Trait Implementations§
Source§impl Clone for GenerateDwarf
impl Clone for GenerateDwarf
Source§fn clone(&self) -> GenerateDwarf
fn clone(&self) -> GenerateDwarf
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 GenerateDwarf
impl Debug for GenerateDwarf
impl Copy for GenerateDwarf
Auto Trait Implementations§
impl Freeze for GenerateDwarf
impl RefUnwindSafe for GenerateDwarf
impl Send for GenerateDwarf
impl Sync for GenerateDwarf
impl Unpin for GenerateDwarf
impl UnwindSafe for GenerateDwarf
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