[][src]Struct amethyst_ui::UiBundle

pub struct UiBundle<A, B, C = NoCustomUi> { /* fields omitted */ }

UI bundle

Will register all necessary components and systems needed for UI, along with any resources. The generic types A and B represent the A and B generic parameter of the InputHandler<A,B>.

Will fail with error 'No resource with the given id' if the InputBundle is not added.

Methods

impl<A, B, C> UiBundle<A, B, C>
[src]

Create a new UI bundle

Trait Implementations

impl<'a, 'b, A, B, C> SystemBundle<'a, 'b> for UiBundle<A, B, C> where
    A: Send + Sync + Eq + Hash + Clone + 'static,
    B: Send + Sync + Eq + Hash + Clone + 'static,
    C: ToNativeWidget
[src]

Auto Trait Implementations

impl<A, B, C> Send for UiBundle<A, B, C> where
    A: Send,
    B: Send,
    C: Send

impl<A, B, C> Sync for UiBundle<A, B, C> where
    A: Sync,
    B: Sync,
    C: Sync

Blanket Implementations

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

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Same for T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

impl<T> Resource for T where
    T: Any + Send + Sync

impl<T> Any for T where
    T: Any

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> Erased for T

impl<T> Erased for T

impl<T> SetParameter for T

Sets value as a parameter of self.