pub struct LoadoutHotbarChoice {
pub binding: String,
pub label: String,
pub meta: Option<String>,
}Expand description
One row in the loadout hotbar picker (ability or inventory consumable).
Fields§
§binding: StringValue sent via Intent::SetHotbarSlot (ability_id or item:<template>).
label: StringDisplay label (ability id, or “Carrot ×3”).
meta: Option<String>Optional meta badge (weapon, use, …).
Trait Implementations§
Source§impl Clone for LoadoutHotbarChoice
impl Clone for LoadoutHotbarChoice
Source§fn clone(&self) -> LoadoutHotbarChoice
fn clone(&self) -> LoadoutHotbarChoice
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 LoadoutHotbarChoice
impl Debug for LoadoutHotbarChoice
impl Eq for LoadoutHotbarChoice
Source§impl PartialEq for LoadoutHotbarChoice
impl PartialEq for LoadoutHotbarChoice
impl StructuralPartialEq for LoadoutHotbarChoice
Auto Trait Implementations§
impl Freeze for LoadoutHotbarChoice
impl RefUnwindSafe for LoadoutHotbarChoice
impl Send for LoadoutHotbarChoice
impl Sync for LoadoutHotbarChoice
impl Unpin for LoadoutHotbarChoice
impl UnsafeUnpin for LoadoutHotbarChoice
impl UnwindSafe for LoadoutHotbarChoice
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.