Struct cpp_demangle::ast::TemplateParam
source · pub struct TemplateParam(_);
Expand description
The <template-param>
production.
<template-param> ::= T_ # first template parameter
::= T <parameter-2 non-negative number> _
Trait Implementations§
source§impl Clone for TemplateParam
impl Clone for TemplateParam
source§fn clone(&self) -> TemplateParam
fn clone(&self) -> TemplateParam
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 TemplateParam
impl Debug for TemplateParam
source§impl<'a> Hash for &'a TemplateParam
impl<'a> Hash for &'a TemplateParam
source§impl PartialEq<TemplateParam> for TemplateParam
impl PartialEq<TemplateParam> for TemplateParam
source§fn eq(&self, other: &TemplateParam) -> bool
fn eq(&self, other: &TemplateParam) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TemplateParam
impl StructuralEq for TemplateParam
impl StructuralPartialEq for TemplateParam
Auto Trait Implementations§
impl RefUnwindSafe for TemplateParam
impl Send for TemplateParam
impl Sync for TemplateParam
impl Unpin for TemplateParam
impl UnwindSafe for TemplateParam
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