Struct oxygengine_script_flow::system::FlowSystem

source ·
pub struct FlowSystem;

Trait Implementations§

source§

impl Default for FlowSystem

source§

fn default() -> FlowSystem

Returns the “default value” for a type. Read more
source§

impl<'s> System<'s> for FlowSystem

§

type SystemData = Write<'s, FlowManager>

The resource bundle required to execute this system. Read more
source§

fn run(&mut self, manager: Self::SystemData)

Executes the system with the required system data.
source§

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
source§

fn accessor<'b>(&'b self) -> AccessorCow<'a, 'b, Self>

Return the accessor from the SystemData.
source§

fn setup(&mut self, res: &mut Resources)

Sets up the Resources using Self::SystemData::setup.
source§

fn dispose(self, res: &mut Resources)
where Self: Sized,

Performs clean up that requires resources from the Resources. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Any for T
where T: Any,

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<'a, T> RunNow<'a> for T
where T: System<'a>,

source§

fn run_now(&mut self, res: &'a Resources)

Runs the system now. Read more
source§

fn setup(&mut self, res: &mut Resources)

Sets up Resources for a later call to run_now.
source§

fn dispose(self: Box<T>, res: &mut Resources)

Performs clean up that requires resources from the Resources. Read more
source§

impl<T> TryDefault for T
where T: Default,

source§

fn try_default() -> Result<T, String>

Tries to create the default.
source§

fn unwrap_default() -> Self

Calls try_default and panics on an error case.
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> Erased for T

source§

impl<T> Event for T
where T: Send + Sync + 'static,

source§

impl<T> Resource for T
where T: Any + Send + Sync,