Struct bones_lib::DefaultSessionRunner
source · pub struct DefaultSessionRunner;
Expand description
The default SessionRunner
, which just runs the systems once every time it is run.
Trait Implementations§
source§impl Default for DefaultSessionRunner
impl Default for DefaultSessionRunner
source§fn default() -> DefaultSessionRunner
fn default() -> DefaultSessionRunner
Returns the “default value” for a type. Read more
source§impl SessionRunner for DefaultSessionRunner
impl SessionRunner for DefaultSessionRunner
source§fn step(&mut self, now: Instant, world: &mut World, stages: &mut SystemStages)
fn step(&mut self, now: Instant, world: &mut World, stages: &mut SystemStages)
Step the simulation once. Read more
source§fn restart_session(&mut self)
fn restart_session(&mut self)
Restart Session Runner. This should reset accumulated time, inputs, etc. Read more
source§fn disable_local_input(&mut self, _input_disabled: bool)
fn disable_local_input(&mut self, _input_disabled: bool)
Disable the capture of local input by this session.
Auto Trait Implementations§
impl Freeze for DefaultSessionRunner
impl RefUnwindSafe for DefaultSessionRunner
impl Send for DefaultSessionRunner
impl Sync for DefaultSessionRunner
impl Unpin for DefaultSessionRunner
impl UnwindSafe for DefaultSessionRunner
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
§fn from_world(_world: &World) -> T
fn from_world(_world: &World) -> T
Creates
Self
using data from the given World
.