Skip to main content

Manifest

Struct Manifest 

Source
pub struct Manifest {
Show 22 fields pub schema_version: u32, pub spec: SpecSection, pub mastery: MasterySection, pub resource: ResourceSection, pub secondary_resource: Option<SecondaryResourceSection>, pub auras: IndexMap<String, ManifestAuraDef>, pub spells: IndexMap<String, ManifestSpellDef>, pub auto_attacks: IndexMap<String, AutoAttackDef>, pub talents: BTreeMap<String, u32>, pub set_bonuses: BTreeMap<String, u32>, pub talent_companion_auras: BTreeMap<String, Vec<String>>, pub talent_gated_aura_effects: Vec<TalentGatedAuraEffectDef>, pub metric_keys: Option<MetricKeysSection>, pub rotation_schema: Option<RotationSchema>, pub hero_talents: IndexMap<String, ManifestHeroTalentTree>, pub spell_groups: Vec<SpellGroupDef>, pub effects: IndexMap<String, EffectRef>, pub content_effects: IndexMap<String, ContentEffectCoverage>, pub reported_spells: BTreeMap<String, u32>, pub impact_procs: Vec<ImpactProcDef>, pub masked_passive_effects: Vec<MaskedPassiveEffectDef>, pub passive_effect_overrides: Vec<PassiveEffectOverrideDef>,
}
Expand description

Fully composed shape of a manifests/specs/<class>/<specialization>/manifest.toml entry.

Fields§

§schema_version: u32§spec: SpecSection§mastery: MasterySection§resource: ResourceSection§secondary_resource: Option<SecondaryResourceSection>§auras: IndexMap<String, ManifestAuraDef>§spells: IndexMap<String, ManifestSpellDef>§auto_attacks: IndexMap<String, AutoAttackDef>§talents: BTreeMap<String, u32>§set_bonuses: BTreeMap<String, u32>§talent_companion_auras: BTreeMap<String, Vec<String>>§talent_gated_aura_effects: Vec<TalentGatedAuraEffectDef>§metric_keys: Option<MetricKeysSection>§rotation_schema: Option<RotationSchema>§hero_talents: IndexMap<String, ManifestHeroTalentTree>§spell_groups: Vec<SpellGroupDef>§effects: IndexMap<String, EffectRef>§content_effects: IndexMap<String, ContentEffectCoverage>§reported_spells: BTreeMap<String, u32>§impact_procs: Vec<ImpactProcDef>§masked_passive_effects: Vec<MaskedPassiveEffectDef>§passive_effect_overrides: Vec<PassiveEffectOverrideDef>

Implementations§

Source§

impl Manifest

Source

pub fn diagnostics(&self) -> Vec<ManifestDiagnostic>

Returns structural diagnostics for symbolic references in this composed spec.

Trait Implementations§

Source§

impl Debug for Manifest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Manifest

Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,