Trait KeyExt

Source
pub trait KeyExt: Sized {
    // Required method
    fn write_key(&mut self) -> &mut DiffKey;

    // Provided method
    fn key(self, key: impl Hash) -> Self { ... }
}

Required Methods§

Source

fn write_key(&mut self) -> &mut DiffKey

Provided Methods§

Source

fn key(self, key: impl Hash) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl KeyExt for Accordion

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Button

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Chip

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Draggable

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for DraggableCanvas

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for DropdownItem

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Gif

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for GifViewer

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for ImageViewer

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Input

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for CircularLoader

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Menu

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for MenuButton

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for MenuContainer

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for MenuItem

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for SubMenu

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Plot

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Popup

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for ProgressBar

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for ResizablePanel

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for ScrollView

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for SelectableText

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for SideBarItem

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Slider

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Switch

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Table

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for TableArrow

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for TableBody

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for TableCell

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for TableHead

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for TableRow

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Tile

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for Tooltip

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl KeyExt for TooltipContainer

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl<D, B> KeyExt for VirtualScrollView<D, B>
where D: PartialEq, B: Fn(usize, &D) -> Element,

Source§

fn write_key(&mut self) -> &mut DiffKey

Source§

impl<T> KeyExt for Portal<T>

Source§

fn write_key(&mut self) -> &mut DiffKey

Implementors§