pub struct TyCon {
pub name: Symbol,
pub kind: Kind,
}Expand description
A type constructor with its name and kind.
Fields§
§name: SymbolThe name of the type constructor.
kind: KindThe kind of the type constructor.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TyCon
impl<'de> Deserialize<'de> for TyCon
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TyCon
impl StructuralPartialEq for TyCon
Auto Trait Implementations§
impl Freeze for TyCon
impl RefUnwindSafe for TyCon
impl Send for TyCon
impl Sync for TyCon
impl Unpin for TyCon
impl UnsafeUnpin for TyCon
impl UnwindSafe for TyCon
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