[][src]Struct llhd::ir::prelude::EntityBuilder

pub struct EntityBuilder<'u> {
    pub entity: &'u mut Entity,
    // some fields omitted
}

Temporary object used to build a single Entity.

Fields

entity: &'u mut Entity

The entity currently being built.

Methods

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

pub fn new(entity: &mut Entity) -> EntityBuilder[src]

Create a new entity builder.

Trait Implementations

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

type Unit = Entity

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

Auto Trait Implementations

impl<'u> RefUnwindSafe for EntityBuilder<'u>

impl<'u> Send for EntityBuilder<'u>

impl<'u> Sync for EntityBuilder<'u>

impl<'u> Unpin for EntityBuilder<'u>

impl<'u> !UnwindSafe for EntityBuilder<'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.