Struct rtlola_parser::ast::Type
source · pub struct Type {
pub kind: TypeKind,
pub id: NodeId,
pub span: Span,
}
Expand description
An Ast node representing the declaration of a value type
Fields§
§kind: TypeKind
The kind of the type, e.g., a tuple
id: NodeId
The id of the node in the Ast
span: Span
The span in the specification declaring the extend declaration
Trait Implementations§
source§impl<'de> Deserialize<'de> for Type
impl<'de> Deserialize<'de> for Type
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