pub struct EuvSidebarItemProps {
pub route_signal: Signal<String>,
pub collapsed: Signal<Vec<String>>,
pub item: EuvSidebarItem,
pub prefix: String,
pub on_navigate: Option<Rc<dyn Fn(&'static str)>>,
}Expand description
Props of the euv_sidebar_item component.
Fields§
§route_signal: Signal<String>The current route signal.
collapsed: Signal<Vec<String>>The collapsed group keys.
item: EuvSidebarItemThe item to render.
prefix: StringThe group key prefix of the parent.
Optional navigation interceptor (see EuvSidebarProps::on_navigate).
Trait Implementations§
Source§impl Clone for EuvSidebarItemProps
impl Clone for EuvSidebarItemProps
Source§fn clone(&self) -> EuvSidebarItemProps
fn clone(&self) -> EuvSidebarItemProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EuvSidebarItemProps
impl Debug for EuvSidebarItemProps
Source§impl Default for EuvSidebarItemProps
impl Default for EuvSidebarItemProps
Source§fn default() -> EuvSidebarItemProps
fn default() -> EuvSidebarItemProps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for EuvSidebarItemProps
impl !Send for EuvSidebarItemProps
impl !Sync for EuvSidebarItemProps
impl !UnwindSafe for EuvSidebarItemProps
impl Freeze for EuvSidebarItemProps
impl Unpin for EuvSidebarItemProps
impl UnsafeUnpin for EuvSidebarItemProps
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