Enum cpp_demangle::ast::LocalName
source · pub enum LocalName {
Relative(Box<Encoding>, Option<Box<Name>>, Option<Discriminator>),
Default(Box<Encoding>, Option<usize>, Box<Name>),
}
Expand description
The <local-name>
production.
<local-name> := Z <function encoding> E <entity name> [<discriminator>]
:= Z <function encoding> E s [<discriminator>]
:= Z <function encoding> Ed [ <parameter number> ] _ <entity name>
Variants§
Relative(Box<Encoding>, Option<Box<Name>>, Option<Discriminator>)
The mangling of the enclosing function, the mangling of the entity relative to the function, and an optional discriminator.
Default(Box<Encoding>, Option<usize>, Box<Name>)
A default argument in a class definition.
Trait Implementations§
source§impl PartialEq<LocalName> for LocalName
impl PartialEq<LocalName> for LocalName
impl Eq for LocalName
impl StructuralEq for LocalName
impl StructuralPartialEq for LocalName
Auto Trait Implementations§
impl RefUnwindSafe for LocalName
impl Send for LocalName
impl Sync for LocalName
impl Unpin for LocalName
impl UnwindSafe for LocalName
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