Struct cpp_to_rust_generator::cpp_data::TemplateArgumentsDeclaration  
                   
                       [−]
                   
               [src]
pub struct TemplateArgumentsDeclaration {
    pub nested_level: usize,
    pub names: Vec<String>,
}Information about template arguments of a C++ class type
Fields
nested_level: usize
                           Indicates how many template types this type is nested into.
In the following example class A
has level 0, and class B has level 1.
template<class T>
class A {
  template<class T2>
  class B {};
};
names: Vec<String>
                           Names of template arguments. Names themselves are not particularly important, but their count is.
Methods
impl TemplateArgumentsDeclaration[src]
            Trait Implementations
impl Debug for TemplateArgumentsDeclaration[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for TemplateArgumentsDeclaration[src]
fn eq(&self, __arg_0: &TemplateArgumentsDeclaration) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TemplateArgumentsDeclaration) -> bool[src]
This method tests for !=.
impl Eq for TemplateArgumentsDeclaration[src]
impl Clone for TemplateArgumentsDeclaration[src]
fn clone(&self) -> TemplateArgumentsDeclaration[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more