Struct stripper_lib::types::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
[src]
fn empty() -> TypeStruct
[src]
fn get_depth(&self, ignore_macros: bool) -> usize
[src]
Trait Implementations
impl Clone for TypeStruct
[src]
fn clone(&self) -> TypeStruct
[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
impl PartialEq for TypeStruct
[src]
fn eq(&self, __arg_0: &TypeStruct) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TypeStruct) -> bool
[src]
This method tests for !=
.
impl Debug for TypeStruct
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.