pub struct ExpressionOrDist {
pub nodes: (Expression, Option<(Keyword, Brace<DistList>)>),
}
Fields§
§nodes: (Expression, Option<(Keyword, Brace<DistList>)>)
Trait Implementations§
source§impl Clone for ExpressionOrDist
impl Clone for ExpressionOrDist
source§fn clone(&self) -> ExpressionOrDist
fn clone(&self) -> ExpressionOrDist
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 Debug for ExpressionOrDist
impl Debug for ExpressionOrDist
source§impl<'a> From<&'a ExpressionOrDist> for RefNode<'a>
impl<'a> From<&'a ExpressionOrDist> for RefNode<'a>
source§fn from(x: &'a ExpressionOrDist) -> Self
fn from(x: &'a ExpressionOrDist) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a ExpressionOrDist> for RefNodes<'a>
impl<'a> From<&'a ExpressionOrDist> for RefNodes<'a>
source§fn from(x: &'a ExpressionOrDist) -> Self
fn from(x: &'a ExpressionOrDist) -> Self
Converts to this type from the input type.
source§impl From<ExpressionOrDist> for AnyNode
impl From<ExpressionOrDist> for AnyNode
source§fn from(x: ExpressionOrDist) -> Self
fn from(x: ExpressionOrDist) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ExpressionOrDist
impl<'a> IntoIterator for &'a ExpressionOrDist
source§impl PartialEq<ExpressionOrDist> for ExpressionOrDist
impl PartialEq<ExpressionOrDist> for ExpressionOrDist
source§fn eq(&self, other: &ExpressionOrDist) -> bool
fn eq(&self, other: &ExpressionOrDist) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.