[−][src]Enum sv_parser::Primary
Variants
PrimaryLiteral(Box<PrimaryLiteral, Global>)
Hierarchical(Box<PrimaryHierarchical, Global>)
EmptyUnpackedArrayConcatenation(Box<EmptyUnpackedArrayConcatenation, Global>)
Concatenation(Box<PrimaryConcatenation, Global>)
MultipleConcatenation(Box<PrimaryMultipleConcatenation, Global>)
FunctionSubroutineCall(Box<FunctionSubroutineCall, Global>)
LetExpression(Box<LetExpression, Global>)
MintypmaxExpression(Box<PrimaryMintypmaxExpression, Global>)
AssignmentPatternExpression(Box<AssignmentPatternExpression, Global>)
StreamingConcatenation(Box<StreamingConcatenation, Global>)
SequenceMethodCall(Box<SequenceMethodCall, Global>)
Trait Implementations
impl Clone for Primary
[src]
impl Debug for Primary
[src]
impl<'a> From<&'a Primary> for RefNodes<'a>
[src]
impl<'a> From<&'a Primary> for RefNode<'a>
[src]
impl From<Primary> for AnyNode
[src]
impl<'a> IntoIterator for &'a Primary
[src]
type Item = RefNode<'a>
The type of the elements being iterated over.
type IntoIter = Iter<'a>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> <&'a Primary as IntoIterator>::IntoIter
[src]
impl<'a> Node<'a> for Primary
[src]
impl PartialEq<Primary> for Primary
[src]
impl StructuralPartialEq for Primary
[src]
impl<'a> TryFrom<&'a Primary> for Locate
[src]
type Error = ()
The type returned in the event of a conversion error.
pub fn try_from(
x: &'a Primary
) -> Result<Locate, <Locate as TryFrom<&'a Primary>>::Error>
[src]
x: &'a Primary
) -> Result<Locate, <Locate as TryFrom<&'a Primary>>::Error>
impl TryFrom<AnyNode> for Primary
[src]
type Error = ()
The type returned in the event of a conversion error.
pub fn try_from(
x: AnyNode
) -> Result<Primary, <Primary as TryFrom<AnyNode>>::Error>
[src]
x: AnyNode
) -> Result<Primary, <Primary as TryFrom<AnyNode>>::Error>
impl TryFrom<Primary> for Locate
[src]
Auto Trait Implementations
impl RefUnwindSafe for Primary
impl Send for Primary
impl Sync for Primary
impl Unpin for Primary
impl UnwindSafe for Primary
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,