Struct cpp_demangle::ast::MemberName
source · pub struct MemberName(_);
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<MemberName> for MemberName
impl PartialEq<MemberName> 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 StructuralEq for MemberName
impl StructuralPartialEq for MemberName
Auto Trait Implementations§
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