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<SystemDecl, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SystemDecl, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SystemDecl
impl Serialize for SystemDecl
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for SystemDecl
impl Freeze for SystemDecl
impl Move 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