pub enum TabsPatch {
Selected(usize),
Items {
titles: Vec<String>,
icons: Vec<Option<String>>,
selected: usize,
},
}Variants§
Selected(usize)
Programmatic selection sync — toolkits apply WITHOUT re-emitting SelectionChanged (the TextField from_native echo rule).
Items
The tab set changed (data-driven selector().items(signal, …)): the host reconciles
its native tab labels/icons to these; the day-pieces layer adds/removes the resident
pages to match (docs/navigation.md). selected is applied without re-emitting.
Trait Implementations§
impl StructuralPartialEq for TabsPatch
Auto Trait Implementations§
impl Freeze for TabsPatch
impl RefUnwindSafe for TabsPatch
impl Send for TabsPatch
impl Sync for TabsPatch
impl Unpin for TabsPatch
impl UnsafeUnpin for TabsPatch
impl UnwindSafe for TabsPatch
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