Struct cpp_demangle::ast::MemberName
source · pub struct MemberName(/* private fields */);
Expand description
In libiberty, Member and DerefMember expressions have special handling.
They parse an UnqualifiedName
(not an UnscopedName
as the cxxabi docs
say) and optionally a TemplateArgs
if it is present. We can’t just parse
a Name
or an UnscopedTemplateName
here because that allows other inputs
that libiberty does not.
Trait Implementations§
source§impl Clone for MemberName
impl Clone for MemberName
source§fn clone(&self) -> MemberName
fn clone(&self) -> MemberName
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 MemberName
impl Debug for MemberName
source§impl PartialEq for MemberName
impl PartialEq for MemberName
source§fn eq(&self, other: &MemberName) -> bool
fn eq(&self, other: &MemberName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MemberName
impl StructuralPartialEq for MemberName
Auto Trait Implementations§
impl Freeze for MemberName
impl RefUnwindSafe for MemberName
impl Send for MemberName
impl Sync for MemberName
impl Unpin for MemberName
impl UnwindSafe for MemberName
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,
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
)