Struct amethyst_core::transform::bundle::TransformBundle [−][src]
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]
impl<'a> TransformBundle<'a>pub fn new() -> Self[src]
pub fn new() -> SelfCreate a new transform bundle
pub fn with_dep(self, dep: &'a [&'a str]) -> Self[src]
pub fn with_dep(self, dep: &'a [&'a str]) -> SelfSet dependencies for the TransformSystem
Trait Implementations
impl<'a> Default for TransformBundle<'a>[src]
impl<'a> Default for TransformBundle<'a>fn default() -> TransformBundle<'a>[src]
fn default() -> TransformBundle<'a>Returns the "default value" for a type. Read more
impl<'a, 'b, 'c> SystemBundle<'a, 'b> for TransformBundle<'c>[src]
impl<'a, 'b, 'c> SystemBundle<'a, 'b> for TransformBundle<'c>Auto Trait Implementations
impl<'a> Send for TransformBundle<'a>
impl<'a> Send for TransformBundle<'a>impl<'a> Sync for TransformBundle<'a>
impl<'a> Sync for TransformBundle<'a>