pub struct TypeAlias {
pub name: Identifier,
pub type_params: Vec<Identifier>,
pub target: Type,
}Expand description
A type alias declaration in Haskell.
Fields§
§name: IdentifierThe name of the type alias.
type_params: Vec<Identifier>The type parameters of the type alias.
target: TypeThe target type of the type alias.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypeAlias
impl<'de> Deserialize<'de> for TypeAlias
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 StructuralPartialEq for TypeAlias
Auto Trait Implementations§
impl Freeze for TypeAlias
impl RefUnwindSafe for TypeAlias
impl Send for TypeAlias
impl Sync for TypeAlias
impl Unpin for TypeAlias
impl UnsafeUnpin for TypeAlias
impl UnwindSafe for TypeAlias
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