Skip to main content

Action

Trait Action 

Source
pub trait Action:
    Copy
    + PartialEq
    + Debug
    + 'static {
    const ALL: &'static [Self];

    // Required methods
    fn defaults() -> Keymap<Self>;
    fn name(self) -> &'static str;
    fn description(self) -> &'static str;
}
Expand description

A component action that can be bound to keys.

Required Associated Constants§

Source

const ALL: &'static [Self]

Every action, in the order they are documented.

Required Methods§

Source

fn defaults() -> Keymap<Self>

The component’s default shortcuts.

Source

fn name(self) -> &'static str

A short name, such as "Next".

Source

fn description(self) -> &'static str

One sentence describing what the action does.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Action for iced_cube::application::command_palette::Action

Available on crate feature command-palette only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::application::menubar::Action

Available on crate feature menubar only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::application::toolbar::Action

Available on crate feature toolbar only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::data::data_table::Action

Available on crate feature data-table only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::data::json_viewer::Action

Available on crate feature json-viewer only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::data::log_viewer::Action

Available on crate feature log-viewer only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::data::property_grid::Action

Available on crate feature property-grid only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::data::tree::Action

Available on crate feature tree only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::data::virtual_list::Action

Available on crate feature virtual-list only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::forms::combobox::Action

Available on crate feature combobox only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::forms::select::Action

Available on crate feature select only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::layout::accordion::Action

Available on crate feature accordion only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::layout::resizable_panel::Action

Available on crate feature resizable-panel only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::navigation::breadcrumb::Action

Available on crate feature breadcrumb only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::navigation::command::Action

Available on crate feature command only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::navigation::document_tabs::Action

Available on crate feature document-tabs only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::navigation::pagination::Action

Available on crate feature pagination only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::navigation::sidebar::Action

Available on crate feature sidebar only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::navigation::tabs::Action

Available on crate feature tabs only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::overlay::context_menu::Action

Available on crate feature context-menu only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::overlay::dialog::Action

Available on crate feature dialog only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::overlay::dropdown_menu::Action

Available on crate feature dropdown-menu only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::overlay::popover::Action

Available on crate feature popover only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::overlay::toast::Action

Available on crate feature toast only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::primitives::checkbox::Action

Available on crate feature checkbox only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::primitives::slider::Action

Available on crate feature slider only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::primitives::switch::Action

Available on crate feature switch only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::primitives::toggle::Action

Available on crate feature toggle only.
Source§

const ALL: &'static [Self]

Source§

impl Action for iced_cube::primitives::toggle_group::Action

Available on crate feature toggle-group only.
Source§

const ALL: &'static [Self]