Skip to main content

DbcData

Struct DbcData 

Source
pub struct DbcData {
Show 149 fields pub spell_name: IntMap<i32, SpellNameRow>, pub spell: IntMap<i32, SpellRow>, pub spell_cast_times: IntMap<i32, SpellCastTimesRow>, pub spell_duration: IntMap<i32, SpellDurationRow>, pub spell_range: IntMap<i32, SpellRangeRow>, pub spell_radius: IntMap<i32, SpellRadiusRow>, pub spell_category: IntMap<i32, SpellCategoryRow>, pub spell_description_variables: IntMap<i32, SpellDescriptionVariablesRow>, pub difficulty: IntMap<i32, DifficultyRow>, pub manifest_interface_data: IntMap<i32, ManifestInterfaceDataRow>, pub spell_misc: IntMap<i32, SpellMiscRow>, pub spell_effect: IntMap<i32, Vec<SpellEffectRow>>, pub spell_power: IntMap<i32, Vec<SpellPowerRow>>, pub spell_cooldowns: IntMap<i32, Vec<SpellCooldownsRow>>, pub spell_categories: IntMap<i32, Vec<SpellCategoriesRow>>, pub spell_class_options: IntMap<i32, SpellClassOptionsRow>, pub spell_aura_restrictions: IntMap<i32, SpellAuraRestrictionsRow>, pub spell_interrupts: IntMap<i32, SpellInterruptsRow>, pub spell_empower: IntMap<i32, SpellEmpowerRow>, pub spell_empower_stage: IntMap<i32, Vec<SpellEmpowerStageRow>>, pub spell_target_restrictions: IntMap<i32, SpellTargetRestrictionsRow>, pub spell_equipped_items: IntMap<i32, SpellEquippedItemsRow>, pub spell_levels: IntMap<i32, Vec<SpellLevelsRow>>, pub spell_learn_spell: IntMap<i32, Vec<SpellLearnSpellRow>>, pub spell_replacement: IntMap<i32, SpellReplacementRow>, pub spell_shapeshift: IntMap<i32, SpellShapeshiftRow>, pub spell_shapeshift_form: IntMap<i32, SpellShapeshiftFormRow>, pub spell_totems: IntMap<i32, Vec<SpellTotemsRow>>, pub spell_x_description_variables: IntMap<i32, Vec<SpellXDescriptionVariablesRow>>, pub spell_aura_options: IntMap<i32, SpellAuraOptionsRow>, pub chr_specialization: IntMap<i32, ChrSpecializationRow>, pub chr_classes: IntMap<i32, ChrClassesRow>, pub chr_races: IntMap<i32, ChrRacesRow>, pub specialization_spells: IntMap<i32, Vec<SpecializationSpellsRow>>, pub assisted_combat: IntMap<i32, AssistedCombatRow>, pub assisted_combat_step: IntMap<i32, Vec<AssistedCombatStepRow>>, pub assisted_combat_rule: IntMap<i32, Vec<AssistedCombatRuleRow>>, pub trait_node: IntMap<i32, TraitNodeRow>, pub trait_node_entry: IntMap<i32, TraitNodeEntryRow>, pub trait_definition: IntMap<i32, TraitDefinitionRow>, pub trait_definition_effect_points: IntMap<i32, Vec<TraitDefinitionEffectPointsRow>>, pub trait_tree_loadout: IntMap<i32, TraitTreeLoadoutRow>, pub trait_sub_tree: IntMap<i32, TraitSubTreeRow>, pub trait_currency: IntMap<i32, TraitCurrencyRow>, pub trait_cost: IntMap<i32, TraitCostRow>, pub trait_cond: IntMap<i32, TraitCondRow>, pub ui_texture_atlas_element: IntMap<i32, UiTextureAtlasElementRow>, pub trait_tree_loadout_entry: IntMap<i32, Vec<TraitTreeLoadoutEntryRow>>, pub trait_edge: IntMap<i32, Vec<TraitEdgeRow>>, pub trait_node_x_trait_node_entry: IntMap<i32, Vec<TraitNodeXTraitNodeEntryRow>>, pub trait_tree_x_trait_currency: IntMap<i32, Vec<TraitTreeXTraitCurrencyRow>>, pub trait_currency_source: IntMap<i32, Vec<TraitCurrencySourceRow>>, pub trait_node_group_x_trait_node: IntMap<i32, Vec<TraitNodeGroupXTraitNodeRow>>, pub trait_node_group_x_trait_cost: IntMap<i32, Vec<TraitNodeGroupXTraitCostRow>>, pub trait_node_group_x_trait_cond: IntMap<i32, Vec<TraitNodeGroupXTraitCondRow>>, pub trait_node_x_trait_cond: IntMap<i32, Vec<TraitNodeXTraitCondRow>>, pub skill_line_x_trait_tree: IntMap<i32, Vec<SkillLineXTraitTreeRow>>, pub spec_set_member: IntMap<i32, Vec<SpecSetMemberRow>>, pub item: IntMap<i32, ItemRow>, pub item_sparse: IntMap<i32, ItemSparseRow>, pub item_effect: IntMap<i32, ItemEffectRow>, pub item_set: IntMap<i32, ItemSetRow>, pub item_class: IntMap<i32, ItemClassRow>, pub item_sub_class: IntMap<i32, ItemSubClassRow>, pub item_appearance: IntMap<i32, ItemAppearanceRow>, pub journal_encounter: IntMap<i32, JournalEncounterRow>, pub journal_instance: IntMap<i32, JournalInstanceRow>, pub dungeon_encounter: IntMap<i32, DungeonEncounterRow>, pub item_x_item_effect: IntMap<i32, Vec<ItemXItemEffectRow>>, pub item_set_spell: IntMap<i32, Vec<ItemSetSpellRow>>, pub item_modified_appearance: IntMap<i32, ItemModifiedAppearanceRow>, pub journal_encounter_creature: IntMap<i32, Vec<JournalEncounterCreatureRow>>, pub journal_encounter_item: IntMap<i32, Vec<JournalEncounterItemRow>>, pub global_color: IntMap<i32, GlobalColorRow>, pub global_strings: IntMap<i32, GlobalStringsRow>, pub item_bonus: IntMap<i32, Vec<ItemBonusRow>>, pub curve: IntMap<i32, CurveRow>, pub curve_point: IntMap<i32, Vec<CurvePointRow>>, pub rand_prop_points: IntMap<i32, RandPropPointsRow>, pub item_scaling_config: IntMap<i32, ItemScalingConfigRow>, pub item_offset_curve: IntMap<i32, ItemOffsetCurveRow>, pub item_squish_era: IntMap<i32, ItemSquishEraRow>, pub spell_scaling: IntMap<i32, SpellScalingRow>, pub spell_procs_per_minute: IntMap<i32, SpellProcsPerMinuteRow>, pub spell_procs_per_minute_mod: IntMap<i32, Vec<SpellProcsPerMinuteModRow>>, pub spell_item_enchantment: IntMap<i32, SpellItemEnchantmentRow>, pub gem_properties: IntMap<i32, GemPropertiesRow>, pub item_damage_one_hand: IntMap<i32, ItemDamageOneHandRow>, pub item_damage_two_hand: IntMap<i32, ItemDamageTwoHandRow>, pub item_damage_ammo: IntMap<i32, ItemDamageAmmoRow>, pub cooldown_set: IntMap<i32, CooldownSetRow>, pub cooldown_set_spell: IntMap<i32, Vec<CooldownSetSpellRow>>, pub expected_stat: IntMap<i32, ExpectedStatRow>, pub expected_stat_mod: IntMap<i32, ExpectedStatModRow>, pub creature: IntMap<i32, CreatureRow>, pub creature_difficulty: IntMap<i32, Vec<CreatureDifficultyRow>>, pub content_tuning: IntMap<i32, ContentTuningRow>, pub content_tuning_x_difficulty: IntMap<i32, Vec<ContentTuningXDifficultyRow>>, pub content_tuning_x_expected: IntMap<i32, Vec<ContentTuningXExpectedRow>>, pub spell_label: IntMap<i32, Vec<SpellLabelRow>>, pub power_type: IntMap<i32, PowerTypeRow>, pub item_armor_quality: IntMap<i32, ItemArmorQualityRow>, pub item_armor_shield: IntMap<i32, ItemArmorShieldRow>, pub item_armor_total: IntMap<i32, ItemArmorTotalRow>, pub armor_location: IntMap<i32, ArmorLocationRow>, pub item_damage_one_hand_caster: IntMap<i32, ItemDamageOneHandCasterRow>, pub item_damage_two_hand_caster: IntMap<i32, ItemDamageTwoHandCasterRow>, pub journal_tier: IntMap<i32, JournalTierRow>, pub journal_tier_x_instance: IntMap<i32, Vec<JournalTierXInstanceRow>>, pub map: IntMap<i32, MapRow>, pub map_challenge_mode: IntMap<i32, MapChallengeModeRow>, pub item_bonus_tree_node: IntMap<i32, Vec<ItemBonusTreeNodeRow>>, pub item_bonus_list_group_entry: IntMap<i32, Vec<ItemBonusListGroupEntryRow>>, pub item_level_selector: IntMap<i32, ItemLevelSelectorRow>, pub item_level_selector_quality: IntMap<i32, ItemLevelSelectorQualityRow>, pub item_level_selector_quality_set: IntMap<i32, ItemLevelSelectorQualitySetRow>, pub item_x_bonus_tree: IntMap<i32, Vec<ItemXBonusTreeRow>>, pub mythic_plus_season_reward_levels: IntMap<i32, Vec<MythicPlusSeasonRewardLevelsRow>>, pub pvp_season: IntMap<i32, PvpSeasonRow>, pub pvp_season_reward_levels: IntMap<i32, Vec<PvpSeasonRewardLevelsRow>>, pub pvp_tier: IntMap<i32, PvpTierRow>, pub crafting_data: IntMap<i32, CraftingDataRow>, pub crafting_data_enchant_quality: IntMap<i32, Vec<CraftingDataEnchantQualityRow>>, pub crafting_data_item_quality: IntMap<i32, Vec<CraftingDataItemQualityRow>>, pub skill_line_ability: IntMap<i32, Vec<SkillLineAbilityRow>>, pub skill_race_class_info: IntMap<i32, Vec<SkillRaceClassInfoRow>>, pub profession: IntMap<i32, ProfessionRow>, pub modified_crafting_item: IntMap<i32, ModifiedCraftingItemRow>, pub crafting_quality: IntMap<i32, CraftingQualityRow>, pub currency_types: IntMap<i32, CurrencyTypesRow>, pub currency_category: IntMap<i32, CurrencyCategoryRow>, pub item_bonus_list_group: IntMap<i32, ItemBonusListGroupRow>, pub item_group_ilvl_scaling_entry: IntMap<i32, Vec<ItemGroupIlvlScalingEntryRow>>, pub item_conversion: IntMap<i32, ItemConversionRow>, pub item_conversion_entry: IntMap<i32, Vec<ItemConversionEntryRow>>, pub challenge_mode_item_bonus_override: IntMap<i32, ChallengeModeItemBonusOverrideRow>, pub mythic_plus_season: IntMap<i32, MythicPlusSeasonRow>, pub mythic_plus_season_tracked_map: IntMap<i32, Vec<MythicPlusSeasonTrackedMapRow>>, pub mythic_plus_season_tracked_affix: IntMap<i32, Vec<MythicPlusSeasonTrackedAffixRow>>, pub mythic_plus_season_key_floor: IntMap<i32, Vec<MythicPlusSeasonKeyFloorRow>>, pub display_season: IntMap<i32, DisplaySeasonRow>, pub delves_season: IntMap<i32, DelvesSeasonRow>, pub item_bonus_sequence_spell: IntMap<i32, ItemBonusSequenceSpellRow>, pub game_tables: Vec<GameTable>, pub trait_node_by_tree: IntMap<i32, Vec<TraitNodeRow>>, pub trait_tree_loadout_by_spec: IntMap<i32, Vec<TraitTreeLoadoutRow>>, pub trait_cond_by_node_group: IntMap<i32, Vec<TraitCondRow>>, pub item_class_by_class_id: IntMap<i32, ItemClassRow>, pub item_sub_class_by_class_id: IntMap<i32, Vec<ItemSubClassRow>>,
}
Expand description

Container for all loaded DBC data with indexed lookups.

Fields§

§spell_name: IntMap<i32, SpellNameRow>§spell: IntMap<i32, SpellRow>§spell_cast_times: IntMap<i32, SpellCastTimesRow>§spell_duration: IntMap<i32, SpellDurationRow>§spell_range: IntMap<i32, SpellRangeRow>§spell_radius: IntMap<i32, SpellRadiusRow>§spell_category: IntMap<i32, SpellCategoryRow>§spell_description_variables: IntMap<i32, SpellDescriptionVariablesRow>§difficulty: IntMap<i32, DifficultyRow>§manifest_interface_data: IntMap<i32, ManifestInterfaceDataRow>§spell_misc: IntMap<i32, SpellMiscRow>§spell_effect: IntMap<i32, Vec<SpellEffectRow>>§spell_power: IntMap<i32, Vec<SpellPowerRow>>§spell_cooldowns: IntMap<i32, Vec<SpellCooldownsRow>>§spell_categories: IntMap<i32, Vec<SpellCategoriesRow>>§spell_class_options: IntMap<i32, SpellClassOptionsRow>§spell_aura_restrictions: IntMap<i32, SpellAuraRestrictionsRow>§spell_interrupts: IntMap<i32, SpellInterruptsRow>§spell_empower: IntMap<i32, SpellEmpowerRow>§spell_empower_stage: IntMap<i32, Vec<SpellEmpowerStageRow>>§spell_target_restrictions: IntMap<i32, SpellTargetRestrictionsRow>§spell_equipped_items: IntMap<i32, SpellEquippedItemsRow>§spell_levels: IntMap<i32, Vec<SpellLevelsRow>>§spell_learn_spell: IntMap<i32, Vec<SpellLearnSpellRow>>§spell_replacement: IntMap<i32, SpellReplacementRow>§spell_shapeshift: IntMap<i32, SpellShapeshiftRow>§spell_shapeshift_form: IntMap<i32, SpellShapeshiftFormRow>§spell_totems: IntMap<i32, Vec<SpellTotemsRow>>§spell_x_description_variables: IntMap<i32, Vec<SpellXDescriptionVariablesRow>>§spell_aura_options: IntMap<i32, SpellAuraOptionsRow>§chr_specialization: IntMap<i32, ChrSpecializationRow>§chr_classes: IntMap<i32, ChrClassesRow>§chr_races: IntMap<i32, ChrRacesRow>§specialization_spells: IntMap<i32, Vec<SpecializationSpellsRow>>§assisted_combat: IntMap<i32, AssistedCombatRow>§assisted_combat_step: IntMap<i32, Vec<AssistedCombatStepRow>>§assisted_combat_rule: IntMap<i32, Vec<AssistedCombatRuleRow>>§trait_node: IntMap<i32, TraitNodeRow>§trait_node_entry: IntMap<i32, TraitNodeEntryRow>§trait_definition: IntMap<i32, TraitDefinitionRow>§trait_definition_effect_points: IntMap<i32, Vec<TraitDefinitionEffectPointsRow>>§trait_tree_loadout: IntMap<i32, TraitTreeLoadoutRow>§trait_sub_tree: IntMap<i32, TraitSubTreeRow>§trait_currency: IntMap<i32, TraitCurrencyRow>§trait_cost: IntMap<i32, TraitCostRow>§trait_cond: IntMap<i32, TraitCondRow>§ui_texture_atlas_element: IntMap<i32, UiTextureAtlasElementRow>§trait_tree_loadout_entry: IntMap<i32, Vec<TraitTreeLoadoutEntryRow>>§trait_edge: IntMap<i32, Vec<TraitEdgeRow>>§trait_node_x_trait_node_entry: IntMap<i32, Vec<TraitNodeXTraitNodeEntryRow>>§trait_tree_x_trait_currency: IntMap<i32, Vec<TraitTreeXTraitCurrencyRow>>§trait_currency_source: IntMap<i32, Vec<TraitCurrencySourceRow>>§trait_node_group_x_trait_node: IntMap<i32, Vec<TraitNodeGroupXTraitNodeRow>>§trait_node_group_x_trait_cost: IntMap<i32, Vec<TraitNodeGroupXTraitCostRow>>§trait_node_group_x_trait_cond: IntMap<i32, Vec<TraitNodeGroupXTraitCondRow>>§trait_node_x_trait_cond: IntMap<i32, Vec<TraitNodeXTraitCondRow>>§skill_line_x_trait_tree: IntMap<i32, Vec<SkillLineXTraitTreeRow>>§spec_set_member: IntMap<i32, Vec<SpecSetMemberRow>>§item: IntMap<i32, ItemRow>§item_sparse: IntMap<i32, ItemSparseRow>§item_effect: IntMap<i32, ItemEffectRow>§item_set: IntMap<i32, ItemSetRow>§item_class: IntMap<i32, ItemClassRow>§item_sub_class: IntMap<i32, ItemSubClassRow>§item_appearance: IntMap<i32, ItemAppearanceRow>§journal_encounter: IntMap<i32, JournalEncounterRow>§journal_instance: IntMap<i32, JournalInstanceRow>§dungeon_encounter: IntMap<i32, DungeonEncounterRow>§item_x_item_effect: IntMap<i32, Vec<ItemXItemEffectRow>>§item_set_spell: IntMap<i32, Vec<ItemSetSpellRow>>§item_modified_appearance: IntMap<i32, ItemModifiedAppearanceRow>§journal_encounter_creature: IntMap<i32, Vec<JournalEncounterCreatureRow>>§journal_encounter_item: IntMap<i32, Vec<JournalEncounterItemRow>>§global_color: IntMap<i32, GlobalColorRow>§global_strings: IntMap<i32, GlobalStringsRow>§item_bonus: IntMap<i32, Vec<ItemBonusRow>>§curve: IntMap<i32, CurveRow>§curve_point: IntMap<i32, Vec<CurvePointRow>>§rand_prop_points: IntMap<i32, RandPropPointsRow>§item_scaling_config: IntMap<i32, ItemScalingConfigRow>§item_offset_curve: IntMap<i32, ItemOffsetCurveRow>§item_squish_era: IntMap<i32, ItemSquishEraRow>§spell_scaling: IntMap<i32, SpellScalingRow>§spell_procs_per_minute: IntMap<i32, SpellProcsPerMinuteRow>§spell_procs_per_minute_mod: IntMap<i32, Vec<SpellProcsPerMinuteModRow>>§spell_item_enchantment: IntMap<i32, SpellItemEnchantmentRow>§gem_properties: IntMap<i32, GemPropertiesRow>§item_damage_one_hand: IntMap<i32, ItemDamageOneHandRow>§item_damage_two_hand: IntMap<i32, ItemDamageTwoHandRow>§item_damage_ammo: IntMap<i32, ItemDamageAmmoRow>§cooldown_set: IntMap<i32, CooldownSetRow>§cooldown_set_spell: IntMap<i32, Vec<CooldownSetSpellRow>>§expected_stat: IntMap<i32, ExpectedStatRow>§expected_stat_mod: IntMap<i32, ExpectedStatModRow>§creature: IntMap<i32, CreatureRow>§creature_difficulty: IntMap<i32, Vec<CreatureDifficultyRow>>§content_tuning: IntMap<i32, ContentTuningRow>§content_tuning_x_difficulty: IntMap<i32, Vec<ContentTuningXDifficultyRow>>§content_tuning_x_expected: IntMap<i32, Vec<ContentTuningXExpectedRow>>§spell_label: IntMap<i32, Vec<SpellLabelRow>>§power_type: IntMap<i32, PowerTypeRow>§item_armor_quality: IntMap<i32, ItemArmorQualityRow>§item_armor_shield: IntMap<i32, ItemArmorShieldRow>§item_armor_total: IntMap<i32, ItemArmorTotalRow>§armor_location: IntMap<i32, ArmorLocationRow>§item_damage_one_hand_caster: IntMap<i32, ItemDamageOneHandCasterRow>§item_damage_two_hand_caster: IntMap<i32, ItemDamageTwoHandCasterRow>§journal_tier: IntMap<i32, JournalTierRow>§journal_tier_x_instance: IntMap<i32, Vec<JournalTierXInstanceRow>>§map: IntMap<i32, MapRow>§map_challenge_mode: IntMap<i32, MapChallengeModeRow>§item_bonus_tree_node: IntMap<i32, Vec<ItemBonusTreeNodeRow>>§item_bonus_list_group_entry: IntMap<i32, Vec<ItemBonusListGroupEntryRow>>§item_level_selector: IntMap<i32, ItemLevelSelectorRow>§item_level_selector_quality: IntMap<i32, ItemLevelSelectorQualityRow>§item_level_selector_quality_set: IntMap<i32, ItemLevelSelectorQualitySetRow>§item_x_bonus_tree: IntMap<i32, Vec<ItemXBonusTreeRow>>§mythic_plus_season_reward_levels: IntMap<i32, Vec<MythicPlusSeasonRewardLevelsRow>>§pvp_season: IntMap<i32, PvpSeasonRow>§pvp_season_reward_levels: IntMap<i32, Vec<PvpSeasonRewardLevelsRow>>§pvp_tier: IntMap<i32, PvpTierRow>§crafting_data: IntMap<i32, CraftingDataRow>§crafting_data_enchant_quality: IntMap<i32, Vec<CraftingDataEnchantQualityRow>>§crafting_data_item_quality: IntMap<i32, Vec<CraftingDataItemQualityRow>>§skill_line_ability: IntMap<i32, Vec<SkillLineAbilityRow>>§skill_race_class_info: IntMap<i32, Vec<SkillRaceClassInfoRow>>§profession: IntMap<i32, ProfessionRow>§modified_crafting_item: IntMap<i32, ModifiedCraftingItemRow>§crafting_quality: IntMap<i32, CraftingQualityRow>§currency_types: IntMap<i32, CurrencyTypesRow>§currency_category: IntMap<i32, CurrencyCategoryRow>§item_bonus_list_group: IntMap<i32, ItemBonusListGroupRow>§item_group_ilvl_scaling_entry: IntMap<i32, Vec<ItemGroupIlvlScalingEntryRow>>§item_conversion: IntMap<i32, ItemConversionRow>§item_conversion_entry: IntMap<i32, Vec<ItemConversionEntryRow>>§challenge_mode_item_bonus_override: IntMap<i32, ChallengeModeItemBonusOverrideRow>§mythic_plus_season: IntMap<i32, MythicPlusSeasonRow>§mythic_plus_season_tracked_map: IntMap<i32, Vec<MythicPlusSeasonTrackedMapRow>>§mythic_plus_season_tracked_affix: IntMap<i32, Vec<MythicPlusSeasonTrackedAffixRow>>§mythic_plus_season_key_floor: IntMap<i32, Vec<MythicPlusSeasonKeyFloorRow>>§display_season: IntMap<i32, DisplaySeasonRow>§delves_season: IntMap<i32, DelvesSeasonRow>§item_bonus_sequence_spell: IntMap<i32, ItemBonusSequenceSpellRow>§game_tables: Vec<GameTable>§trait_node_by_tree: IntMap<i32, Vec<TraitNodeRow>>§trait_tree_loadout_by_spec: IntMap<i32, Vec<TraitTreeLoadoutRow>>§trait_cond_by_node_group: IntMap<i32, Vec<TraitCondRow>>§item_class_by_class_id: IntMap<i32, ItemClassRow>§item_sub_class_by_class_id: IntMap<i32, Vec<ItemSubClassRow>>

Implementations§

Source§

impl DbcData

Source

pub fn load_all(data_dir: &Path) -> Result<Self, DbcError>

Load all DBC tables from {data_dir}/data/tables/*.csv.

§Errors

Returns DbcError when a present table cannot be read or deserialized.

Trait Implementations§

Source§

impl Debug for DbcData

Source§

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

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

impl Default for DbcData

Source§

fn default() -> DbcData

Returns the “default value” for a type. 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.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
§

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> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> SpecConfig for T
where T: Any + Debug + Send,

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

impl<T> SpecRuntime for T
where T: Any + Debug + Default + Send,

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Source§

fn reset(&mut self)

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
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> ResolverSyncBound for T
where T: Sync + ?Sized,