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