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 for TypeStruct
impl PartialEq for TypeStruct
impl StructuralPartialEq for TypeStruct
Auto Trait Implementations§
impl Freeze for TypeStruct
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