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 moreSource§impl Debug for SystemDecl
impl Debug for SystemDecl
Source§impl<'de> Deserialize<'de> for SystemDecl
impl<'de> Deserialize<'de> for SystemDecl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto 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