pub trait MapExt {
// Required method
fn with_id(self, id: &'static str) -> Self;
}
Expand description
Add the with_id function to assign an ID to the widget for later retrieval
Required Methods§
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.