pub struct EuvCollapseItem {
pub key: &'static str,
pub title: &'static str,
}Expand description
One entry of the euv_collapse accordion.
The key is the stable identity written into the caller-owned
open_keys signal; the title is the header text. The panel body is
supplied by the caller through the bodies prop.
Fields§
§key: &'static strThe stable identity of this section (written to the open_keys
signal).
title: &'static strThe header text of this section.
Implementations§
Source§impl EuvCollapseItem
impl EuvCollapseItem
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_title(&self) -> &'static str
pub fn get_mut_title(&mut self) -> &mut &'static str
pub fn set_title(&mut self, val: &'static str) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvCollapseItem
impl Clone for EuvCollapseItem
impl Copy for EuvCollapseItem
Source§impl Debug for EuvCollapseItem
impl Debug for EuvCollapseItem
Auto Trait Implementations§
impl Freeze for EuvCollapseItem
impl RefUnwindSafe for EuvCollapseItem
impl Send for EuvCollapseItem
impl Sync for EuvCollapseItem
impl Unpin for EuvCollapseItem
impl UnsafeUnpin for EuvCollapseItem
impl UnwindSafe for EuvCollapseItem
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