pub struct TabPanel {
pub label: String,
pub content: String,
}Expand description
A single tab panel within a Tabs block.
Fields§
§label: String§content: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for TabPanel
impl<'de> Deserialize<'de> for TabPanel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TabPanel
impl RefUnwindSafe for TabPanel
impl Send for TabPanel
impl Sync for TabPanel
impl Unpin for TabPanel
impl UnwindSafe for TabPanel
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