Struct stripper_lib::types::TypeStruct
source · 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>
Implementations§
source§impl TypeStruct
impl TypeStruct
Trait Implementations§
source§impl Clone for TypeStruct
impl Clone for TypeStruct
source§fn clone(&self) -> TypeStruct
fn clone(&self) -> TypeStruct
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TypeStruct
impl Debug for TypeStruct
source§impl Display for TypeStruct
impl Display for TypeStruct
source§impl PartialEq<TypeStruct> for TypeStruct
impl PartialEq<TypeStruct> for TypeStruct
source§fn eq(&self, other: &TypeStruct) -> bool
fn eq(&self, other: &TypeStruct) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TypeStruct
Auto Trait Implementations§
impl RefUnwindSafe for TypeStruct
impl Send for TypeStruct
impl Sync for TypeStruct
impl Unpin for TypeStruct
impl UnwindSafe for TypeStruct
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more