pub struct SystemDecl {
pub schedule: String,
pub name: String,
}Expand description
Describes a system to be added to a Bevy schedule.
The actual system function lives in the WASM plugin and is called through the host bridge at runtime.
Fields§
§schedule: StringSchedule label (e.g. “Update”, “FixedUpdate”, “Startup”).
name: StringHuman-readable system name for logging / debugging.
Trait Implementations§
Source§impl Clone for SystemDecl
impl Clone for SystemDecl
Source§fn clone(&self) -> SystemDecl
fn clone(&self) -> SystemDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SystemDecl
impl RefUnwindSafe for SystemDecl
impl Send for SystemDecl
impl Sync for SystemDecl
impl Unpin for SystemDecl
impl UnsafeUnpin for SystemDecl
impl UnwindSafe for SystemDecl
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