Struct air_parser::ast::ScalarWithLambda
source · pub struct ScalarWithLambda<'i> {
pub name: &'i str,
pub lambda: LambdaAST<'i>,
pub position: AirPos,
}
Expand description
A scalar value with a lambda expression.
Fields§
§name: &'i str
§lambda: LambdaAST<'i>
§position: AirPos
Implementations§
Trait Implementations§
source§impl<'i> Clone for ScalarWithLambda<'i>
impl<'i> Clone for ScalarWithLambda<'i>
source§fn clone(&self) -> ScalarWithLambda<'i>
fn clone(&self) -> ScalarWithLambda<'i>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'i> Debug for ScalarWithLambda<'i>
impl<'i> Debug for ScalarWithLambda<'i>
source§impl<'de: 'i, 'i> Deserialize<'de> for ScalarWithLambda<'i>
impl<'de: 'i, 'i> Deserialize<'de> for ScalarWithLambda<'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
source§impl Display for ScalarWithLambda<'_>
impl Display for ScalarWithLambda<'_>
source§impl<'i> PartialEq<ScalarWithLambda<'i>> for ScalarWithLambda<'i>
impl<'i> PartialEq<ScalarWithLambda<'i>> for ScalarWithLambda<'i>
source§fn eq(&self, other: &ScalarWithLambda<'i>) -> bool
fn eq(&self, other: &ScalarWithLambda<'i>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.