[][src]Struct open_vaf::ast_lowering::ast_to_hir_fold::Fold

pub struct Fold<'lt> {
    pub resolver: Resolver<'lt>,
    pub errors: Vec<Error>,
    pub hir: Hir,
    pub ast: &'lt Ast,
}

A struct that contains data and functionality all ast to hir folds share It is used for abstracting over functionality/data for the resolve!/resolve_hierarchical! macros and BranchResolver

Fields

resolver: Resolver<'lt>errors: Vec<Error>hir: Hirast: &'lt Ast

Implementations

impl<'lt> Fold<'lt>[src]

pub fn error(&mut self, error: Error)[src]

Auto Trait Implementations

impl<'lt> RefUnwindSafe for Fold<'lt>

impl<'lt> Send for Fold<'lt>

impl<'lt> Sync for Fold<'lt>

impl<'lt> Unpin for Fold<'lt>

impl<'lt> UnwindSafe for Fold<'lt>

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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.