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


No errors will be returned by this bundle.


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


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> Debug for TransformBundle<'a>[src]

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> TryDefault for T where
    T: Default

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,