Struct heron_core::CorePlugin [−][src]
Plugin that registers stage resources and components.
It does NOT enable physics behavior.
Fields
steps_per_second: Option<f64>
Number of physics step per second. None
means to run physics step as part of the application update instead.
Implementations
impl CorePlugin
[src]
impl CorePlugin
[src]#[must_use]pub fn from_steps_per_second(steps_per_second: u8) -> Self
[src]
#[must_use]
pub fn from_steps_per_second(steps_per_second: u8) -> SelfConfigure how many times per second the physics world needs to be updated
Panics
Panic if the number of steps_per_second
is 0
Trait Implementations
impl Clone for CorePlugin
[src]
impl Clone for CorePlugin
[src]fn clone(&self) -> CorePlugin
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CorePlugin
[src]
impl Copy for CorePlugin
[src]impl Default for CorePlugin
[src]
impl Default for CorePlugin
[src]Auto Trait Implementations
impl RefUnwindSafe for CorePlugin
impl RefUnwindSafe for CorePlugin
impl Send for CorePlugin
impl Send for CorePlugin
impl Sync for CorePlugin
impl Sync for CorePlugin
impl Unpin for CorePlugin
impl Unpin for CorePlugin
impl UnwindSafe for CorePlugin
impl UnwindSafe for CorePlugin
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> FromWorld for T where
T: Default,
impl<T> FromWorld for T where
T: Default,
pub fn from_world(_world: &mut World) -> T
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
pub fn clone_type_data(&self) -> Box<dyn TypeData + 'static, Global>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,