[−][src]Struct amethyst_core::transform::bundle::TransformBundle
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]
fn build(
self,
world: &mut World,
builder: &mut DispatcherBuilder<'a, 'b>
) -> Result<(), Error>[src]
self,
world: &mut World,
builder: &mut DispatcherBuilder<'a, 'b>
) -> Result<(), Error>
impl<'a> Default for TransformBundle<'a>[src]
fn default() -> 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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>[src]
fn is_in_subset(&self) -> bool[src]
unsafe fn to_subset_unchecked(&self) -> SS[src]
fn from_subset(element: &SS) -> 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]
T: Any + Send + Sync,
impl<T> TryDefault for T where
T: Default, [src]
T: Default,
fn try_default() -> Result<T, String>[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]
T: Send + Sync + 'static,
impl<T> Any for T where
T: Any, [src]
T: Any,