Struct stripper_interface::TypeStruct
[−]
[src]
pub struct TypeStruct { pub ty: Type, pub parent: Option<Box<TypeStruct>>, pub name: String, pub args: Vec<String>, }
Fields
ty: Type
parent: Option<Box<TypeStruct>>
name: String
args: Vec<String>
Methods
impl TypeStruct
[src]
fn new(ty: Type, name: &str) -> TypeStruct
fn empty() -> TypeStruct
fn get_depth(&self, ignore_macros: bool) -> usize
Trait Implementations
impl PartialEq for TypeStruct
[src]
fn eq(&self, other: &TypeStruct) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TypeStruct) -> bool
This method tests for !=
.
impl Clone for TypeStruct
[src]
fn clone(&self) -> TypeStruct
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &TypeStruct)
Performs copy-assignment from source
. Read more