pub struct ExpressionOrDist {
pub nodes: (Expression, Option<(Keyword, Brace<DistList>)>),
}Fields
nodes: (Expression, Option<(Keyword, Brace<DistList>)>)Trait Implementations
sourceimpl Clone for ExpressionOrDist
impl Clone for ExpressionOrDist
sourcefn clone(&self) -> ExpressionOrDist
fn clone(&self) -> ExpressionOrDist
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ExpressionOrDist
impl Debug for ExpressionOrDist
sourceimpl<'a> From<&'a ExpressionOrDist> for RefNodes<'a>
impl<'a> From<&'a ExpressionOrDist> for RefNodes<'a>
sourcefn from(x: &'a ExpressionOrDist) -> Self
fn from(x: &'a ExpressionOrDist) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ExpressionOrDist> for RefNode<'a>
impl<'a> From<&'a ExpressionOrDist> for RefNode<'a>
sourcefn from(x: &'a ExpressionOrDist) -> Self
fn from(x: &'a ExpressionOrDist) -> Self
Converts to this type from the input type.
sourceimpl From<ExpressionOrDist> for AnyNode
impl From<ExpressionOrDist> for AnyNode
sourcefn from(x: ExpressionOrDist) -> Self
fn from(x: ExpressionOrDist) -> Self
Converts to this type from the input type.
sourceimpl<'a> IntoIterator for &'a ExpressionOrDist
impl<'a> IntoIterator for &'a ExpressionOrDist
sourceimpl PartialEq<ExpressionOrDist> for ExpressionOrDist
impl PartialEq<ExpressionOrDist> for ExpressionOrDist
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ExpressionOrDist) -> bool
fn ne(&self, other: &ExpressionOrDist) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a ExpressionOrDist> for Locate
impl<'a> TryFrom<&'a ExpressionOrDist> for Locate
sourceimpl TryFrom<AnyNode> for ExpressionOrDist
impl TryFrom<AnyNode> for ExpressionOrDist
sourceimpl TryFrom<ExpressionOrDist> for Locate
impl TryFrom<ExpressionOrDist> for Locate
impl StructuralPartialEq for ExpressionOrDist
Auto Trait Implementations
impl RefUnwindSafe for ExpressionOrDist
impl Send for ExpressionOrDist
impl Sync for ExpressionOrDist
impl Unpin for ExpressionOrDist
impl UnwindSafe for ExpressionOrDist
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more