pub struct AssetsDatabaseScripted {
pub load: Option<Vec<String>>,
pub unload: Option<Vec<String>>,
}
Fields§
§load: Option<Vec<String>>
§unload: Option<Vec<String>>
Trait Implementations§
Source§impl Clone for AssetsDatabaseScripted
impl Clone for AssetsDatabaseScripted
Source§fn clone(&self) -> AssetsDatabaseScripted
fn clone(&self) -> AssetsDatabaseScripted
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 AssetsDatabaseScripted
impl Debug for AssetsDatabaseScripted
Source§impl Default for AssetsDatabaseScripted
impl Default for AssetsDatabaseScripted
Source§fn default() -> AssetsDatabaseScripted
fn default() -> AssetsDatabaseScripted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssetsDatabaseScripted
impl<'de> Deserialize<'de> for AssetsDatabaseScripted
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<&AssetsDatabase> for AssetsDatabaseScripted
impl From<&AssetsDatabase> for AssetsDatabaseScripted
Source§fn from(_: &AssetsDatabase) -> Self
fn from(_: &AssetsDatabase) -> Self
Converts to this type from the input type.
Source§impl ResourceModify<AssetsDatabaseScripted> for AssetsDatabase
impl ResourceModify<AssetsDatabaseScripted> for AssetsDatabase
fn modify_resource(&mut self, _source: AssetsDatabaseScripted)
Auto Trait Implementations§
impl Freeze for AssetsDatabaseScripted
impl RefUnwindSafe for AssetsDatabaseScripted
impl Send for AssetsDatabaseScripted
impl Sync for AssetsDatabaseScripted
impl Unpin for AssetsDatabaseScripted
impl UnwindSafe for AssetsDatabaseScripted
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.