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
sourceimpl Clone for TemplateParam
impl Clone for TemplateParam
sourcefn clone(&self) -> TemplateParam
fn clone(&self) -> TemplateParam
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TemplateParam
impl Debug for TemplateParam
sourceimpl<'a> Hash for &'a TemplateParam
impl<'a> Hash for &'a TemplateParam
sourceimpl PartialEq<TemplateParam> for TemplateParam
impl PartialEq<TemplateParam> for TemplateParam
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &TemplateParam) -> bool
fn ne(&self, other: &TemplateParam) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more