pub struct TabHostState {
pub widget_id: String,
pub content_ids: Vec<String>,
pub labels: Vec<String>,
pub tags: Vec<String>,
pub selected: usize,
pub factories: Vec<Option<fn(&str) -> &'static Node>>,
}Expand description
View-ID based tabs configured by a host for Android TabHost.
Fields§
§widget_id: String§content_ids: Vec<String>§labels: Vec<String>§selected: usize§factories: Vec<Option<fn(&str) -> &'static Node>>Trait Implementations§
Source§impl Clone for TabHostState
impl Clone for TabHostState
Auto Trait Implementations§
impl Forget for TabHostState
impl Freeze for TabHostState
impl Move for TabHostState
impl RefUnwindSafe for TabHostState
impl Send for TabHostState
impl Sync for TabHostState
impl Unpin for TabHostState
impl UnsafeUnpin for TabHostState
impl UnwindSafe for TabHostState
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