pub enum TabHostContent {
View(String),
Factory(fn(&str) -> &'static Node),
}Expand description
Content of a TabHost tab: an existing XML view or a lazy XML factory.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Forget for TabHostContent
impl Freeze for TabHostContent
impl Move for TabHostContent
impl RefUnwindSafe for TabHostContent
impl Send for TabHostContent
impl Sync for TabHostContent
impl Unpin for TabHostContent
impl UnsafeUnpin for TabHostContent
impl UnwindSafe for TabHostContent
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