Struct arret_compiler::BuiltProgram[][src]

pub struct BuiltProgram {
    pub main: Fun,
    pub private_funs: HashMap<PrivateFunId, Fun>,
}

Fields

main: Funprivate_funs: HashMap<PrivateFunId, Fun>

Implementations

impl BuiltProgram[src]

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

Returns true if the program always executes successfully with no output or side effects

Auto Trait Implementations

impl !RefUnwindSafe for BuiltProgram

impl !Send for BuiltProgram

impl !Sync for BuiltProgram

impl Unpin for BuiltProgram

impl UnwindSafe for BuiltProgram

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.