pub(crate) struct SlotMaps<V> {Show 14 fields
pub(crate) cooldowns: IntMap<SpellIdx, V>,
pub(crate) auras: FastMap<AuraKey, V>,
pub(crate) aura_projections: FastMap<AuraProjectionKey, V>,
pub(crate) resources: FastMap<ResourceType, V>,
pub(crate) spells: IntMap<SpellIdx, V>,
pub(crate) talents: FastMap<String, V>,
pub(crate) hero_trees: FastMap<String, V>,
pub(crate) items: FastMap<String, V>,
pub(crate) swings: FastMap<String, V>,
pub(crate) history: IntMap<SpellIdx, V>,
pub(crate) equipment: FastMap<String, V>,
pub(crate) set_bonuses: FastMap<String, V>,
pub(crate) units: FastMap<String, V>,
pub(crate) weapon_imbues: FastMap<String, V>,
}Fields§
§cooldowns: IntMap<SpellIdx, V>§auras: FastMap<AuraKey, V>§aura_projections: FastMap<AuraProjectionKey, V>§resources: FastMap<ResourceType, V>§spells: IntMap<SpellIdx, V>§talents: FastMap<String, V>§hero_trees: FastMap<String, V>§items: FastMap<String, V>§swings: FastMap<String, V>§history: IntMap<SpellIdx, V>§equipment: FastMap<String, V>§set_bonuses: FastMap<String, V>§units: FastMap<String, V>§weapon_imbues: FastMap<String, V>Implementations§
Source§impl SlotMaps<usize>
impl SlotMaps<usize>
pub(crate) fn into_byte_offsets(self) -> SlotMaps<ByteOffset>
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for SlotMaps<V>
impl<V> RefUnwindSafe for SlotMaps<V>where
V: RefUnwindSafe,
impl<V> Send for SlotMaps<V>where
V: Send,
impl<V> Sync for SlotMaps<V>where
V: Sync,
impl<V> Unpin for SlotMaps<V>where
V: Unpin,
impl<V> UnsafeUnpin for SlotMaps<V>
impl<V> UnwindSafe for SlotMaps<V>where
V: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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