pub struct ScriptAsset {
pub path: String,
pub description: String,
}Expand description
Inert script asset metadata.
Fields§
§path: StringScript path relative to pack root.
description: StringScript description.
Trait Implementations§
Source§impl Clone for ScriptAsset
impl Clone for ScriptAsset
Source§fn clone(&self) -> ScriptAsset
fn clone(&self) -> ScriptAsset
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 ScriptAsset
impl Debug for ScriptAsset
Source§impl Default for ScriptAsset
impl Default for ScriptAsset
Source§fn default() -> ScriptAsset
fn default() -> ScriptAsset
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScriptAsset
impl<'de> Deserialize<'de> for ScriptAsset
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 ScriptAsset
impl RefUnwindSafe for ScriptAsset
impl Send for ScriptAsset
impl Sync for ScriptAsset
impl Unpin for ScriptAsset
impl UnsafeUnpin for ScriptAsset
impl UnwindSafe for ScriptAsset
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