pub struct TabsBuilder {
pub items: Option<Vec<&'static str>>,
pub active_index: Option<Signal<usize>>,
pub class: Option<&'static str>,
pub children: Option<Vec<NodeBlueprint>>,
pub __strata_key: Option<String>,
}Fields§
§items: Option<Vec<&'static str>>§active_index: Option<Signal<usize>>§class: Option<&'static str>§children: Option<Vec<NodeBlueprint>>§__strata_key: Option<String>Implementations§
Source§impl TabsBuilder
impl TabsBuilder
pub fn items(self, val: impl Into<Vec<&'static str>>) -> Self
pub fn active_index(self, val: impl Into<Signal<usize>>) -> Self
pub fn class(self, val: impl Into<Option<&'static str>>) -> Self
pub fn children(self, children: Vec<NodeBlueprint>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TabsBuilder
impl !Send for TabsBuilder
impl !Sync for TabsBuilder
impl !UnwindSafe for TabsBuilder
impl Forget for TabsBuilder
impl Freeze for TabsBuilder
impl Move for TabsBuilder
impl Unpin for TabsBuilder
impl UnsafeUnpin for TabsBuilder
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