Skip to main content

WidgetId

Trait WidgetId 

Source
pub trait WidgetId:
    Copy
    + Sequence
    + PartialEq
    + Default {
    // Required method
    fn id(&self) -> usize;
}

Required Methods§

Source

fn id(&self) -> usize

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.

Implementors§