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 TabHostStatewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Option<fn(&str) -> &'static Node>>: Freeze,
impl Move for TabHostState
impl RefUnwindSafe for TabHostState
impl Send for TabHostStatewhere
RawVecInner: Send,
impl Sync for TabHostStatewhere
RawVecInner: Sync,
impl Unpin for TabHostState
impl UnsafeUnpin for TabHostStatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Option<fn(&str) -> &'static Node>>: UnsafeUnpin,
impl UnwindSafe for TabHostStatewhere
RawVecInner: UnwindSafe,
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