[][src]Struct amethyst_core::transform::bundle::TransformBundle

pub struct TransformBundle<'a> { /* fields omitted */ }

Transform bundle

Will register transform components, and the TransformSystem. TransformSystem will be registered with name "transform_system".

Errors

No errors will be returned by this bundle.

Panics

Panics in TransformSystem registration if the bundle is applied twice in the same dispatcher.

Methods

impl<'a> TransformBundle<'a>[src]

pub fn new() -> Self[src]

Create a new transform bundle

pub fn with_dep(self, dep: &'a [&'a str]) -> Self[src]

Set dependencies for the TransformSystem

Trait Implementations

impl<'a, 'b, 'c> SystemBundle<'a, 'b> for TransformBundle<'c>[src]

impl<'a> Default for TransformBundle<'a>[src]

Auto Trait Implementations

impl<'a> Send for TransformBundle<'a>

impl<'a> Sync for TransformBundle<'a>

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

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> BorrowMut for T where
    T: ?Sized
[src]

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: Any

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

impl<T> Erased for T

impl<T> TryDefault for T where
    T: Default
[src]

fn unwrap_default() -> Self[src]

Calls try_default and panics on an error case.