pub struct AppLifeCycleScripted {
pub running: bool,
pub delta_time_seconds: Scalar,
pub current_state_token: StateToken,
}
Fields§
§running: bool
§delta_time_seconds: Scalar
§current_state_token: StateToken
Trait Implementations§
Source§impl Clone for AppLifeCycleScripted
impl Clone for AppLifeCycleScripted
Source§fn clone(&self) -> AppLifeCycleScripted
fn clone(&self) -> AppLifeCycleScripted
Returns a copy of the value. Read more
1.0.0 · 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 AppLifeCycleScripted
impl Debug for AppLifeCycleScripted
Source§impl Default for AppLifeCycleScripted
impl Default for AppLifeCycleScripted
Source§fn default() -> AppLifeCycleScripted
fn default() -> AppLifeCycleScripted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppLifeCycleScripted
impl<'de> Deserialize<'de> for AppLifeCycleScripted
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
Source§impl From<&AppLifeCycle> for AppLifeCycleScripted
impl From<&AppLifeCycle> for AppLifeCycleScripted
Source§fn from(value: &AppLifeCycle) -> Self
fn from(value: &AppLifeCycle) -> Self
Converts to this type from the input type.
Source§impl ResourceModify<AppLifeCycleScripted> for AppLifeCycle
impl ResourceModify<AppLifeCycleScripted> for AppLifeCycle
fn modify_resource(&mut self, source: AppLifeCycleScripted)
Source§impl Serialize for AppLifeCycleScripted
impl Serialize for AppLifeCycleScripted
impl Copy for AppLifeCycleScripted
Auto Trait Implementations§
impl Freeze for AppLifeCycleScripted
impl RefUnwindSafe for AppLifeCycleScripted
impl Send for AppLifeCycleScripted
impl Sync for AppLifeCycleScripted
impl Unpin for AppLifeCycleScripted
impl UnwindSafe for AppLifeCycleScripted
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Scriptable for T
impl<T> Scriptable for T
fn from_scriptable(data: &Value) -> Result<T, ScriptableError>
fn to_scriptable(&self) -> Result<Value, ScriptableError>
fn from_js(js: JsValue) -> Result<Self, ScriptableError>where
Self: Sized,
fn to_js(&self) -> Result<JsValue, ScriptableError>
Source§impl<T> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
Source§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
Source§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default
and panics on an error case.