Struct material_yew::tabs::TabBarProps
source · pub struct TabBarProps {
pub active_index: u32,
pub onactivated: Callback<usize>,
pub children: Children,
}
Expand description
Props for MatTabBar
.
MWC Documentation properties and events
Fields§
§active_index: u32
§onactivated: Callback<usize>
Binds to MDCTabBar:activated
event on mwc-tab
See events docs to learn more.
children: Children
Trait Implementations§
source§impl Clone for TabBarProps
impl Clone for TabBarProps
source§fn clone(&self) -> TabBarProps
fn clone(&self) -> TabBarProps
Returns a copy of the value. Read more
1.0.0 · 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 TabBarProps
impl Debug for TabBarProps
source§impl PartialEq<TabBarProps> for TabBarProps
impl PartialEq<TabBarProps> for TabBarProps
source§fn eq(&self, other: &TabBarProps) -> bool
fn eq(&self, other: &TabBarProps) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Properties for TabBarProps
impl Properties for TabBarProps
impl StructuralPartialEq for TabBarProps
Auto Trait Implementations§
impl !RefUnwindSafe for TabBarProps
impl !Send for TabBarProps
impl !Sync for TabBarProps
impl Unpin for TabBarProps
impl !UnwindSafe for TabBarProps
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.