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
Source§fn clone_from(&mut self, source: &TypeStruct)
fn clone_from(&mut self, source: &TypeStruct)
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
Source§fn eq(&self, other: &TypeStruct) -> bool
fn eq(&self, other: &TypeStruct) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§fn ne(&self, other: &TypeStruct) -> bool
fn ne(&self, other: &TypeStruct) -> bool
Tests for
!=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.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