Struct specs_transform::TransformSystem [−][src]
pub struct TransformSystem<T> { /* fields omitted */ }
Methods
impl<T> TransformSystem<T>
[src]
impl<T> TransformSystem<T>
impl<T> TransformSystem<T>
[src]
impl<T> TransformSystem<T>
Trait Implementations
impl<T: Debug> Debug for TransformSystem<T>
[src]
impl<T: Debug> Debug for TransformSystem<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> Default for TransformSystem<T>
[src]
impl<T> Default for TransformSystem<T>
impl<'system, T> System<'system> for TransformSystem<T> where
T: 'static + Sync + Send + Float,
&'a T: Mul<&'b T, Output = T> + Neg<Output = T> + Add<&'b T, Output = T> + Sub<&'b T, Output = T>,
[src]
impl<'system, T> System<'system> for TransformSystem<T> where
T: 'static + Sync + Send + Float,
&'a T: Mul<&'b T, Output = T> + Neg<Output = T> + Add<&'b T, Output = T> + Sub<&'b T, Output = T>,
type SystemData = (Entities<'system>, Write<'system, TransformGuide<T>>, ReadStorage<'system, Child>, WriteStorage<'system, Init>, ReadStorage<'system, LocalTransform2D<T>>, ReadStorage<'system, LocalTransform3D<T>>, WriteStorage<'system, Transform2D<T>>, WriteStorage<'system, Transform3D<T>>)
The resource bundle required to execute this system. Read more
fn run(
&mut self,
(entities, guide, children, inits, locals_2d, locals_3d, globals_2d, globals_3d): Self::SystemData
)
[src]
fn run(
&mut self,
(entities, guide, children, inits, locals_2d, locals_3d, globals_2d, globals_3d): Self::SystemData
)
Executes the system with the required system data. Read more
fn running_time(&self) -> RunningTime
fn running_time(&self) -> RunningTime
Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
Return the accessor from the [SystemData
].
fn setup(&mut self, res: &mut Resources)
fn setup(&mut self, res: &mut Resources)
Sets up the Resources
using Self::SystemData::setup
.
Auto Trait Implementations
impl<T> Send for TransformSystem<T> where
T: Send,
impl<T> Send for TransformSystem<T> where
T: Send,
impl<T> Sync for TransformSystem<T> where
T: Sync,
impl<T> Sync for TransformSystem<T> where
T: Sync,