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 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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more