[][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]

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

Auto Trait Implementations

impl<'a> Unpin for TransformBundle<'a>

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

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

impl<'a> UnwindSafe for TransformBundle<'a>

impl<'a> RefUnwindSafe for TransformBundle<'a>

Blanket Implementations

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.

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

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

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

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

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

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

fn unwrap_default() -> Self[src]

Calls try_default and panics on an error case.

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

impl<T> Any for T where
    T: Any
[src]