pub struct ScriptData {
pub text: String,
pub entity_id: u32,
}Expand description
Embedded script data (from .s2 infos or global briefing).
Fields§
§text: String§entity_id: u32Trait Implementations§
Source§impl Clone for ScriptData
impl Clone for ScriptData
Source§fn clone(&self) -> ScriptData
fn clone(&self) -> ScriptData
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 ScriptData
impl Debug for ScriptData
Source§impl<'de> Deserialize<'de> for ScriptData
impl<'de> Deserialize<'de> for ScriptData
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 ScriptData
impl RefUnwindSafe for ScriptData
impl Send for ScriptData
impl Sync for ScriptData
impl Unpin for ScriptData
impl UnsafeUnpin for ScriptData
impl UnwindSafe for ScriptData
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