pub enum ImmutableVariableWithLambda<'i> {
Scalar(ScalarWithLambda<'i>),
CanonStream(CanonStreamWithLambda<'i>),
}
Expand description
A variable that could be either scalar or stream with possible lambda expression.
Variants§
Scalar(ScalarWithLambda<'i>)
CanonStream(CanonStreamWithLambda<'i>)
Implementations§
source§impl<'i> ImmutableVariableWithLambda<'i>
impl<'i> ImmutableVariableWithLambda<'i>
Trait Implementations§
source§impl<'i> Clone for ImmutableVariableWithLambda<'i>
impl<'i> Clone for ImmutableVariableWithLambda<'i>
source§fn clone(&self) -> ImmutableVariableWithLambda<'i>
fn clone(&self) -> ImmutableVariableWithLambda<'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 ImmutableVariableWithLambda<'i>
impl<'i> Debug for ImmutableVariableWithLambda<'i>
source§impl<'de: 'i, 'i> Deserialize<'de> for ImmutableVariableWithLambda<'i>
impl<'de: 'i, 'i> Deserialize<'de> for ImmutableVariableWithLambda<'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 ImmutableVariableWithLambda<'_>
impl Display for ImmutableVariableWithLambda<'_>
source§impl<'i> PartialEq<ImmutableVariableWithLambda<'i>> for ImmutableVariableWithLambda<'i>
impl<'i> PartialEq<ImmutableVariableWithLambda<'i>> for ImmutableVariableWithLambda<'i>
source§fn eq(&self, other: &ImmutableVariableWithLambda<'i>) -> bool
fn eq(&self, other: &ImmutableVariableWithLambda<'i>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.