pub struct ScriptEntry {
pub name: String,
pub path: Option<String>,
}Expand description
A script entry declared in a REDmod manifest.
Fields§
§name: String§path: Option<String>Trait Implementations§
Source§impl Clone for ScriptEntry
impl Clone for ScriptEntry
Source§fn clone(&self) -> ScriptEntry
fn clone(&self) -> ScriptEntry
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 ScriptEntry
impl Debug for ScriptEntry
Source§impl<'de> Deserialize<'de> for ScriptEntry
impl<'de> Deserialize<'de> for ScriptEntry
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 ScriptEntry
impl RefUnwindSafe for ScriptEntry
impl Send for ScriptEntry
impl Sync for ScriptEntry
impl Unpin for ScriptEntry
impl UnsafeUnpin for ScriptEntry
impl UnwindSafe for ScriptEntry
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