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 for LocalName
impl PartialEq for LocalName
impl Eq for LocalName
impl StructuralPartialEq for LocalName
Auto Trait Implementations§
impl Freeze for LocalName
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
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
)