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
fn empty() -> TypeStruct
fn get_depth(&self, ignore_macros: bool) -> usize
Trait Implementations
impl Clone for TypeStruct[src]
fn clone(&self) -> TypeStruct
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for TypeStruct[src]
fn eq(&self, __arg_0: &TypeStruct) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TypeStruct) -> bool
This method tests for !=.