Struct cpp_demangle::DemangleOptions
source · [−]#[repr(C)]pub struct DemangleOptions { /* private fields */ }
Expand description
Options to control the demangling process.
Implementations
sourceimpl 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
sourceimpl Clone for DemangleOptions
impl Clone for DemangleOptions
sourcefn clone(&self) -> DemangleOptions
fn clone(&self) -> DemangleOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DemangleOptions
impl Debug for DemangleOptions
sourceimpl Default for DemangleOptions
impl Default for DemangleOptions
sourcefn default() -> DemangleOptions
fn default() -> DemangleOptions
Returns the “default value” for a type. Read more
impl Copy for DemangleOptions
Auto Trait Implementations
impl RefUnwindSafe for DemangleOptions
impl Send for DemangleOptions
impl Sync for DemangleOptions
impl Unpin for DemangleOptions
impl UnwindSafe for DemangleOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more