Type Alias veloren_voxygen::hud::slots::SlotManager

source ·
pub type SlotManager = SlotManager<SlotKind>;

Aliased Type§

struct SlotManager {
    state: ManagerState<SlotKind>,
    slot_ids: Vec<NodeIndex>,
    slots: Vec<SlotKind>,
    events: Vec<Event<SlotKind>>,
    drag_id: NodeIndex,
    drag_img_size: Vec2<f32>,
    pub mouse_over_slot: Option<SlotKind>,
    use_prefixes: bool,
    prefix_switch_point: u32,
}

Fields§

§state: ManagerState<SlotKind>§slot_ids: Vec<NodeIndex>§slots: Vec<SlotKind>§events: Vec<Event<SlotKind>>§drag_id: NodeIndex§drag_img_size: Vec2<f32>§mouse_over_slot: Option<SlotKind>§use_prefixes: bool§prefix_switch_point: u32