Struct air_parser::ast::Scalar
source · pub struct Scalar<'i> {
pub name: &'i str,
pub position: AirPos,
}
Expand description
A scalar value without a lambda.
Fields§
§name: &'i str
§position: AirPos
Implementations§
Trait Implementations§
source§impl<'de: 'i, 'i> Deserialize<'de> for Scalar<'i>
impl<'de: 'i, 'i> Deserialize<'de> for Scalar<'i>
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