pub struct TabsPageProps {
pub title: String,
pub icon: Option<String>,
}Expand description
One tab’s content container. title is its tab label (read by the host on insert);
icon is its optional bundled-image name, set on the tab item where the backend shows
tab icons (iOS UITabBarItem), ignored otherwise.
Fields§
§title: String§icon: Option<String>Trait Implementations§
Source§impl Clone for TabsPageProps
impl Clone for TabsPageProps
Source§fn clone(&self) -> TabsPageProps
fn clone(&self) -> TabsPageProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TabsPageProps
impl Debug for TabsPageProps
Source§impl Default for TabsPageProps
impl Default for TabsPageProps
Source§fn default() -> TabsPageProps
fn default() -> TabsPageProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for TabsPageProps
impl PartialEq for TabsPageProps
Source§fn eq(&self, other: &TabsPageProps) -> bool
fn eq(&self, other: &TabsPageProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TabsPageProps
Auto Trait Implementations§
impl Freeze for TabsPageProps
impl RefUnwindSafe for TabsPageProps
impl Send for TabsPageProps
impl Sync for TabsPageProps
impl Unpin for TabsPageProps
impl UnsafeUnpin for TabsPageProps
impl UnwindSafe for TabsPageProps
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