pub enum SettingTarget {
Global,
Mode(String),
Team(TeamId),
Hero {
team: Option<TeamId>,
hero: HeroId,
},
TeamAbility {
team: Option<TeamId>,
slot: LogicalSlot,
variant: Option<AbilityVariant>,
},
HeroAbility {
team: Option<TeamId>,
hero: HeroId,
slot: LogicalSlot,
variant: Option<AbilityVariant>,
},
}Expand description
The semantic entity to which a setting applies.
Variants§
Trait Implementations§
Source§impl Clone for SettingTarget
impl Clone for SettingTarget
Source§fn clone(&self) -> SettingTarget
fn clone(&self) -> SettingTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SettingTarget
impl Debug for SettingTarget
impl Eq for SettingTarget
Source§impl Hash for SettingTarget
impl Hash for SettingTarget
Source§impl PartialEq for SettingTarget
impl PartialEq for SettingTarget
impl StructuralPartialEq for SettingTarget
Auto Trait Implementations§
impl Freeze for SettingTarget
impl RefUnwindSafe for SettingTarget
impl Send for SettingTarget
impl Sync for SettingTarget
impl Unpin for SettingTarget
impl UnsafeUnpin for SettingTarget
impl UnwindSafe for SettingTarget
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