pub struct SpellKnowledgeContext {
pub class_id: Option<i32>,
pub class_spell_ids: Option<FastSet<i32>>,
pub spec_id: Option<i32>,
pub talent_spell_id_to_trait_definition_id: Option<IntMap<i32, i32>>,
}Expand description
Optional class- and spec-scoped knowledge used to enrich a spell with class/spec/talent linkage during transformation.
Fields§
§class_id: Option<i32>§class_spell_ids: Option<FastSet<i32>>§spec_id: Option<i32>§talent_spell_id_to_trait_definition_id: Option<IntMap<i32, i32>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpellKnowledgeContext
impl RefUnwindSafe for SpellKnowledgeContext
impl Send for SpellKnowledgeContext
impl Sync for SpellKnowledgeContext
impl Unpin for SpellKnowledgeContext
impl UnsafeUnpin for SpellKnowledgeContext
impl UnwindSafe for SpellKnowledgeContext
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more