[][src]Enum sv_parser::expressions::expressions::ConstantExpression

pub enum ConstantExpression {
    ConstantPrimary(Box<ConstantPrimary>),
    Unary(Box<ConstantExpressionUnary>),
    Binary(Box<ConstantExpressionBinary>),
    Ternary(Box<ConstantExpressionTernary>),
}

Variants

ConstantPrimary(Box<ConstantPrimary>)

Trait Implementations

impl TryFrom<ConstantExpression> for Locate[src]

type Error = ()

The type returned in the event of a conversion error.

impl TryFrom<AnyNode> for ConstantExpression[src]

type Error = ()

The type returned in the event of a conversion error.

impl<'a> TryFrom<&'a ConstantExpression> for Locate[src]

type Error = ()

The type returned in the event of a conversion error.

impl Clone for ConstantExpression[src]

impl<'a> Node<'a> for ConstantExpression[src]

impl<'a> IntoIterator for &'a ConstantExpression[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?

impl Debug for ConstantExpression[src]

impl From<ConstantExpression> for AnyNode[src]

impl<'a> From<&'a ConstantExpression> for RefNodes<'a>[src]

impl<'a> From<&'a ConstantExpression> for RefNode<'a>[src]

impl PartialEq<ConstantExpression> for ConstantExpression[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]