[][src]Struct moore_svlog::hir::Expr

pub struct Expr<'a> {
    pub ast: &'a Expr<'a>,
    pub kind: ExprKind<'a>,
}

An expression.

Fields

ast: &'a Expr<'a>

The AST node.

kind: ExprKind<'a>

The specific expression data.

Methods from Deref<Target = &'a Expr<'a>>

pub fn is_implicit(&self) -> bool[src]

Check if this is an implicit type.

pub fn is_implicit(&self) -> bool[src]

Check if this is an implicit type.

pub fn inst(&self) -> &'a Node<'a, InstData<'a>>[src]

Get the parent instantiation.

Trait Implementations

impl<'a, 'hir> Alloc<'a, 'a, Expr<'hir>> for Arena<'hir> where
    'hir: 'a, 
[src]

impl<'a> Clone for Expr<'a>[src]

impl<'a> Debug for Expr<'a>[src]

impl<'a> Deref for Expr<'a>[src]

type Target = &'a Expr<'a>

The resulting type after dereferencing.

impl<'a> Eq for Expr<'a>[src]

impl<'_> HasDesc for Expr<'_>[src]

impl<'_> HasSpan for Expr<'_>[src]

impl<'a> PartialEq<Expr<'a>> for Expr<'a>[src]

impl<'a> StructuralEq for Expr<'a>[src]

impl<'a> StructuralPartialEq for Expr<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Expr<'a>

impl<'a> Send for Expr<'a>

impl<'a> Sync for Expr<'a>

impl<'a> Unpin for Expr<'a>

impl<'a> !UnwindSafe for Expr<'a>

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.