Struct sv_parser::ExpressionOrDist
source · 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) -> RefNode<'a>
fn from(x: &'a ExpressionOrDist) -> RefNode<'a>
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) -> RefNodes<'a>
fn from(x: &'a ExpressionOrDist) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ExpressionOrDist> for AnyNode
impl From<ExpressionOrDist> for AnyNode
source§fn from(x: ExpressionOrDist) -> AnyNode
fn from(x: ExpressionOrDist) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ExpressionOrDist
impl<'a> IntoIterator for &'a ExpressionOrDist
source§impl PartialEq for ExpressionOrDist
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a ExpressionOrDist> for Locate
impl<'a> TryFrom<&'a ExpressionOrDist> for Locate
source§impl TryFrom<AnyNode> for ExpressionOrDist
impl TryFrom<AnyNode> for ExpressionOrDist
source§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more