[][src]Struct llhd::ir::FunctionBuilder

pub struct FunctionBuilder<'u> {
    pub func: &'u mut Function,
    // some fields omitted
}

Temporary object used to build a single Function.

Fields

func: &'u mut Function

The function currently being built.

Methods

impl<'u> FunctionBuilder<'u>[src]

pub fn new(func: &'u mut Function) -> Self[src]

Create a new function builder.

Trait Implementations

impl<'_> UnitBuilder for FunctionBuilder<'_>[src]

type Unit = Function

The type returned by unit() and unit_mut().

Auto Trait Implementations

impl<'u> RefUnwindSafe for FunctionBuilder<'u>

impl<'u> Send for FunctionBuilder<'u>

impl<'u> Sync for FunctionBuilder<'u>

impl<'u> Unpin for FunctionBuilder<'u>

impl<'u> !UnwindSafe for FunctionBuilder<'u>

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.