pub struct DemanglerConfig {
pub platform: Option<Ref<Platform>>,
pub view: Option<Ref<BinaryView>>,
pub simplify_templates: bool,
}Expand description
Platform, view, and simplification options used by demangler APIs.
Fields§
§platform: Option<Ref<Platform>>§view: Option<Ref<BinaryView>>§simplify_templates: boolImplementations§
Source§impl DemanglerConfig
impl DemanglerConfig
pub fn for_platform(platform: &Platform, simplify_templates: bool) -> Self
pub fn for_binary_view(view: &BinaryView) -> Self
pub fn get_platform(&self) -> Ref<Platform>
Trait Implementations§
Source§impl Clone for DemanglerConfig
impl Clone for DemanglerConfig
Source§fn clone(&self) -> DemanglerConfig
fn clone(&self) -> DemanglerConfig
Returns a duplicate 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 DemanglerConfig
impl Debug for DemanglerConfig
Auto Trait Implementations§
impl Freeze for DemanglerConfig
impl RefUnwindSafe for DemanglerConfig
impl Send for DemanglerConfig
impl Sync for DemanglerConfig
impl Unpin for DemanglerConfig
impl UnsafeUnpin for DemanglerConfig
impl UnwindSafe for DemanglerConfig
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more