pub struct SlotMaps<V> {Show 14 fields
pub cooldowns: IntMap<SpellIdx, V>,
pub auras: FastMap<AuraKey, V>,
pub aura_projections: FastMap<AuraProjectionKey, V>,
pub resources: FastMap<ResourceType, V>,
pub spells: IntMap<SpellIdx, V>,
pub talents: FastMap<String, V>,
pub hero_trees: FastMap<String, V>,
pub items: FastMap<String, V>,
pub swings: FastMap<String, V>,
pub history: IntMap<SpellIdx, V>,
pub equipment: FastMap<String, V>,
pub set_bonuses: FastMap<String, V>,
pub units: FastMap<String, V>,
pub 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