pub struct EuvHeaderProps {
pub icon: &'static str,
pub title: &'static str,
pub subtitle: &'static str,
}Expand description
Props for the header component.
Defines the strongly-typed interface for a standard header with an emoji icon, title, and subtitle.
Fields§
§icon: &'static strThe emoji icon displayed alongside the title.
title: &'static strThe page title text displayed in the heading.
subtitle: &'static strThe page subtitle / description text.
Implementations§
Source§impl EuvHeaderProps
impl EuvHeaderProps
pub fn get_icon(&self) -> &'static str
pub fn get_mut_icon(&mut self) -> &mut &'static str
pub fn set_icon(&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
pub fn get_subtitle(&self) -> &'static str
pub fn get_mut_subtitle(&mut self) -> &mut &'static str
pub fn set_subtitle(&mut self, val: &'static str) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvHeaderProps
impl Clone for EuvHeaderProps
Source§fn clone(&self) -> EuvHeaderProps
fn clone(&self) -> EuvHeaderProps
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 EuvHeaderProps
impl Debug for EuvHeaderProps
Source§impl Default for EuvHeaderProps
impl Default for EuvHeaderProps
Source§fn default() -> EuvHeaderProps
fn default() -> EuvHeaderProps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EuvHeaderProps
impl RefUnwindSafe for EuvHeaderProps
impl Send for EuvHeaderProps
impl Sync for EuvHeaderProps
impl Unpin for EuvHeaderProps
impl UnsafeUnpin for EuvHeaderProps
impl UnwindSafe for EuvHeaderProps
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