Enum sv_parser::IncOrDecExpression
source · pub enum IncOrDecExpression {
Prefix(Box<IncOrDecExpressionPrefix>),
Suffix(Box<IncOrDecExpressionSuffix>),
}
Variants§
Prefix(Box<IncOrDecExpressionPrefix>)
Suffix(Box<IncOrDecExpressionSuffix>)
Trait Implementations§
source§impl Clone for IncOrDecExpression
impl Clone for IncOrDecExpression
source§fn clone(&self) -> IncOrDecExpression
fn clone(&self) -> IncOrDecExpression
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 IncOrDecExpression
impl Debug for IncOrDecExpression
source§impl<'a> From<&'a IncOrDecExpression> for RefNode<'a>
impl<'a> From<&'a IncOrDecExpression> for RefNode<'a>
source§fn from(x: &'a IncOrDecExpression) -> RefNode<'a>
fn from(x: &'a IncOrDecExpression) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a IncOrDecExpression> for RefNodes<'a>
impl<'a> From<&'a IncOrDecExpression> for RefNodes<'a>
source§fn from(x: &'a IncOrDecExpression) -> RefNodes<'a>
fn from(x: &'a IncOrDecExpression) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<IncOrDecExpression> for AnyNode
impl From<IncOrDecExpression> for AnyNode
source§fn from(x: IncOrDecExpression) -> AnyNode
fn from(x: IncOrDecExpression) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a IncOrDecExpression
impl<'a> IntoIterator for &'a IncOrDecExpression
source§impl PartialEq for IncOrDecExpression
impl PartialEq for IncOrDecExpression
source§fn eq(&self, other: &IncOrDecExpression) -> bool
fn eq(&self, other: &IncOrDecExpression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a IncOrDecExpression> for Locate
impl<'a> TryFrom<&'a IncOrDecExpression> for Locate
source§impl TryFrom<AnyNode> for IncOrDecExpression
impl TryFrom<AnyNode> for IncOrDecExpression
source§impl TryFrom<IncOrDecExpression> for Locate
impl TryFrom<IncOrDecExpression> for Locate
impl StructuralPartialEq for IncOrDecExpression
Auto Trait Implementations§
impl RefUnwindSafe for IncOrDecExpression
impl Send for IncOrDecExpression
impl Sync for IncOrDecExpression
impl Unpin for IncOrDecExpression
impl UnwindSafe for IncOrDecExpression
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