pub struct TabViewItem { /* private fields */ }Implementations§
Source§impl TabViewItem
impl TabViewItem
pub fn new() -> Self
pub fn header(self, value: impl Into<String>) -> Self
pub fn header_optional<T>(self, value: Option<T>) -> Self
pub fn is_closable(self, value: impl Into<Option<bool>>) -> Self
pub fn tag(self, value: impl Into<String>) -> Self
pub fn tag_optional<T>(self, value: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for TabViewItem
impl Clone for TabViewItem
Source§fn clone(&self) -> TabViewItem
fn clone(&self) -> TabViewItem
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 ContentControl for TabViewItem
impl ContentControl for TabViewItem
Source§impl Debug for TabViewItem
impl Debug for TabViewItem
Source§impl Default for TabViewItem
impl Default for TabViewItem
Source§fn default() -> TabViewItem
fn default() -> TabViewItem
Returns the “default value” for a type. Read more
Source§impl From<TabViewItem> for View
impl From<TabViewItem> for View
Source§fn from(value: TabViewItem) -> Self
fn from(value: TabViewItem) -> Self
Converts to this type from the input type.
Source§impl LayoutControl for TabViewItem
impl LayoutControl for TabViewItem
fn width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn opacity(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn horizontal_alignment(
self,
value: impl Into<Option<HorizontalAlignment>>,
) -> Selfwhere
Self: Sized,
fn vertical_alignment(self, value: impl Into<Option<VerticalAlignment>>) -> Selfwhere
Self: Sized,
fn margin(self, value: impl Into<Thickness>) -> Selfwhere
Self: Sized,
fn margin_optional<T>(self, value: Option<T>) -> Self
fn exit_transition(self, transition: ExitTransition) -> Selfwhere
Self: Sized,
Source§impl PartialEq for TabViewItem
impl PartialEq for TabViewItem
impl StructuralPartialEq for TabViewItem
Auto Trait Implementations§
impl !RefUnwindSafe for TabViewItem
impl !Send for TabViewItem
impl !Sync for TabViewItem
impl !UnwindSafe for TabViewItem
impl Freeze for TabViewItem
impl Unpin for TabViewItem
impl UnsafeUnpin for TabViewItem
Blanket Implementations§
Source§impl<T> AutomationExt for Twhere
T: LayoutControl,
impl<T> AutomationExt for Twhere
T: LayoutControl,
fn automation_name(self, value: impl Into<String>) -> Self
fn automation_id(self, value: impl Into<String>) -> Self
fn automation_heading_level(self, value: AutomationHeadingLevel) -> Self
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