Skip to main content

IGodInheritedSkillsMethods

Trait IGodInheritedSkillsMethods 

Source
pub trait IGodInheritedSkillsMethods: IGodInheritedSkills {
    // Provided methods
    fn add(self, skill: impl Into<SkillData>) { ... }
    fn remove(self, skill: impl Into<SkillData>) { ... }
    fn clear(self) { ... }
    fn has(self, skill: impl Into<SkillData>) -> bool { ... }
    fn get_count(self) -> i32 { ... }
    fn serialize(self, stream: impl Into<Stream_2>) { ... }
    fn deserialize(self, stream: impl Into<Stream_2>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn add(self, skill: impl Into<SkillData>)

Add(crate::app::skilldata::SkillData) overload

Source

fn remove(self, skill: impl Into<SkillData>)

Remove(crate::app::skilldata::SkillData) overload

Source

fn clear(self)

Clear() overload

Source

fn has(self, skill: impl Into<SkillData>) -> bool

Has(crate::app::skilldata::SkillData) overload

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn serialize(self, stream: impl Into<Stream_2>)

Serialize(crate::app::stream_2::Stream_2) overload

Source

fn deserialize(self, stream: impl Into<Stream_2>)

Deserialize(crate::app::stream_2::Stream_2) overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IGodInheritedSkills> IGodInheritedSkillsMethods for __T

Available on crate feature app-godinheritedskills only.