pub struct EuvFooterProps {
pub text: &'static str,
pub link: &'static str,
pub items: &'static [EuvFooterItem],
}Expand description
Props for the euv_footer component.
Fields§
§text: &'static strThe plain text of the footer (for example the license line).
An empty text renders no text row, which is how a footer that carries nothing but its items is written.
link: &'static strThe destination the text points at.
An empty link renders the text as plain, unlinked text.
items: &'static [EuvFooterItem]The items of the footer row, in display order.
Implementations§
pub fn get_text(&self) -> &'static str
pub fn get_mut_text(&mut self) -> &mut &'static str
pub fn set_text(&mut self, val: &'static str) -> &mut Self
pub fn get_link(&self) -> &'static str
pub fn get_mut_link(&mut self) -> &mut &'static str
pub fn set_link(&mut self, val: &'static str) -> &mut Self
pub fn get_items(&self) -> &'static [EuvFooterItem]
pub fn get_mut_items(&mut self) -> &mut &'static [EuvFooterItem]
pub fn set_items(&mut self, val: &'static [EuvFooterItem]) -> &mut Self
pub fn new( text: &'static str, link: &'static str, items: &'static [EuvFooterItem], ) -> Self
Trait Implementations§
Auto Trait Implementations§
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