pub enum WidgetKey {
String(String),
Index(usize),
}Expand description
A key used to identify widgets across renders.
Variants§
Implementations§
Trait Implementations§
impl Eq for WidgetKey
impl StructuralPartialEq for WidgetKey
Auto Trait Implementations§
impl Freeze for WidgetKey
impl RefUnwindSafe for WidgetKey
impl Send for WidgetKey
impl Sync for WidgetKey
impl Unpin for WidgetKey
impl UnwindSafe for WidgetKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more