pub struct EffectDependency {
pub spell_id: u32,
pub effect_index: u8,
pub var_type: String,
}Fields§
§spell_id: u32§effect_index: u8§var_type: StringTrait Implementations§
Source§impl Clone for EffectDependency
impl Clone for EffectDependency
Source§fn clone(&self) -> EffectDependency
fn clone(&self) -> EffectDependency
Returns a duplicate 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 EffectDependency
impl Debug for EffectDependency
Source§impl<'de> Deserialize<'de> for EffectDependency
impl<'de> Deserialize<'de> for EffectDependency
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 PartialEq for EffectDependency
impl PartialEq for EffectDependency
Source§impl Serialize for EffectDependency
impl Serialize for EffectDependency
Source§impl Tsify for EffectDependency
impl Tsify for EffectDependency
const DECL: &'static str = "export interface EffectDependency {\n spellId: number;\n effectIndex: number;\n varType: string;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
impl Eq for EffectDependency
impl StructuralPartialEq for EffectDependency
Auto Trait Implementations§
impl Freeze for EffectDependency
impl RefUnwindSafe for EffectDependency
impl Send for EffectDependency
impl Sync for EffectDependency
impl Unpin for EffectDependency
impl UnsafeUnpin for EffectDependency
impl UnwindSafe for EffectDependency
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