[−]Struct bevy::core::FixedTimestep
Implementations
impl FixedTimestep
pub fn step(step: f64) -> FixedTimestep
pub fn steps_per_second(rate: f64) -> FixedTimestep
pub fn with_label(self, label: &str) -> FixedTimestep
pub fn update(&mut self, time: &Time) -> ShouldRun
Trait Implementations
impl Default for FixedTimestep
pub fn default() -> FixedTimestep
impl System for FixedTimestep
type In = ()
type Out = ShouldRun
pub fn name(&self) -> Cow<'static, str>
pub fn id(&self) -> SystemId
pub fn update(&mut self, _world: &World)
pub fn archetype_component_access(&self) -> &TypeAccess<ArchetypeComponent>
pub fn resource_access(&self) -> &TypeAccess<TypeId>
pub fn thread_local_execution(&self) -> ThreadLocalExecution
pub unsafe fn run_unsafe(
&mut self,
_input: <FixedTimestep as System>::In,
_world: &World,
resources: &Resources
) -> Option<<FixedTimestep as System>::Out>
&mut self,
_input: <FixedTimestep as System>::In,
_world: &World,
resources: &Resources
) -> Option<<FixedTimestep as System>::Out>
pub fn run_thread_local(
&mut self,
_world: &mut World,
_resources: &mut Resources
)
&mut self,
_world: &mut World,
_resources: &mut Resources
)
pub fn initialize(&mut self, _world: &mut World, resources: &mut Resources)
pub fn run(
&mut self,
input: Self::In,
world: &mut World,
resources: &mut Resources
) -> Option<Self::Out>
&mut self,
input: Self::In,
world: &mut World,
resources: &mut Resources
) -> Option<Self::Out>
Auto Trait Implementations
impl RefUnwindSafe for FixedTimestep
[src]
impl Send for FixedTimestep
[src]
impl Sync for FixedTimestep
[src]
impl Unpin for FixedTimestep
[src]
impl UnwindSafe for FixedTimestep
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Component for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T> FromResources for T where
T: Default,
T: Default,
pub fn from_resources(_resources: &Resources) -> T
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<SystemA, SystemB> IntoChainSystem<SystemB> for SystemA where
SystemB: System<In = <SystemA as System>::Out>,
SystemA: System,
SystemB: System<In = <SystemA as System>::Out>,
SystemA: System,
pub fn chain(self, system: SystemB) -> ChainSystem<SystemA, SystemB>
impl<Sys> IntoSystem<(), Sys> for Sys where
Sys: System,
Sys: System,
pub fn system(self) -> Sys
impl<T> Resource for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,