pub struct UiTabBarState {
pub selected: i32,
pub first_visible: i32,
pub drag_index: i32,
pub drag_origin: [f32; 2],
}Expand description
Caller-owned tab bar presentation state.
Donor: oa::UiTabBarState.
Fields§
§selected: i32Index of the currently selected tab, or -1 for none.
first_visible: i32Index of the first visible tab (for overflow scrolling).
drag_index: i32Index of the tab held for drag-reorder, or -1.
drag_origin: [f32; 2]Pointer position where the current drag press started.
Trait Implementations§
Source§impl Clone for UiTabBarState
impl Clone for UiTabBarState
Source§impl Debug for UiTabBarState
impl Debug for UiTabBarState
Auto Trait Implementations§
impl Forget for UiTabBarState
impl Freeze for UiTabBarState
impl Move for UiTabBarState
impl RefUnwindSafe for UiTabBarState
impl Send for UiTabBarState
impl Sync for UiTabBarState
impl Unpin for UiTabBarState
impl UnsafeUnpin for UiTabBarState
impl UnwindSafe for UiTabBarState
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