pub struct EuvTabItem {
pub key: &'static str,
pub label: &'static str,
}Expand description
One entry of the euv_tabs tab bar.
The key is the stable identity used for diffing and is written into
the caller-owned active signal; the label is the visible text.
Fields§
§key: &'static strThe stable identity of this tab (written to the active signal).
label: &'static strThe display label of this tab.
Implementations§
Source§impl EuvTabItem
impl EuvTabItem
pub fn get_key(&self) -> &'static str
pub fn get_mut_key(&mut self) -> &mut &'static str
pub fn set_key(&mut self, val: &'static str) -> &mut Self
pub fn get_label(&self) -> &'static str
pub fn get_mut_label(&mut self) -> &mut &'static str
pub fn set_label(&mut self, val: &'static str) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EuvTabItem
impl RefUnwindSafe for EuvTabItem
impl Send for EuvTabItem
impl Sync for EuvTabItem
impl Unpin for EuvTabItem
impl UnsafeUnpin for EuvTabItem
impl UnwindSafe for EuvTabItem
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