Struct cpp_demangle::DemangleOptions
source · #[repr(C)]pub struct DemangleOptions { /* private fields */ }
Expand description
Options to control the demangling process.
Implementations§
source§impl DemangleOptions
impl DemangleOptions
sourcepub fn no_return_type(self) -> Self
pub fn no_return_type(self) -> Self
Do not display the function return type.
sourcepub fn hide_expression_literal_types(self) -> Self
pub fn hide_expression_literal_types(self) -> Self
Hide type annotations in template value parameters. These are not needed to distinguish template instances so this can make it easier to match user-provided template instance names.
sourcepub fn recursion_limit(self, limit: u32) -> Self
pub fn recursion_limit(self, limit: u32) -> Self
Set the limit on recursion depth during the demangling phase. A low limit will cause valid symbols to be rejected, but a high limit may allow pathological symbols to overflow the stack during demangling. The default value is 128.
Trait Implementations§
source§impl Clone for DemangleOptions
impl Clone for DemangleOptions
source§fn clone(&self) -> DemangleOptions
fn clone(&self) -> DemangleOptions
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 DemangleOptions
impl Debug for DemangleOptions
source§impl Default for DemangleOptions
impl Default for DemangleOptions
source§fn default() -> DemangleOptions
fn default() -> DemangleOptions
Returns the “default value” for a type. Read more
impl Copy for DemangleOptions
Auto Trait Implementations§
impl Freeze for DemangleOptions
impl RefUnwindSafe for DemangleOptions
impl Send for DemangleOptions
impl Sync for DemangleOptions
impl Unpin for DemangleOptions
impl UnwindSafe for DemangleOptions
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)