pub struct EuvLoadingProps {
pub title: &'static str,
pub subtitle: &'static str,
pub overlay: bool,
pub background: &'static str,
}Expand description
Props for the euv_loading component.
Defines the strongly-typed interface for a loading indicator that can render inline or as an absolute overlay covering its parent container.
Fields§
§title: &'static strThe loading title text displayed beside the spinner.
subtitle: &'static strThe optional subtitle text displayed below the title (empty string hides it).
overlay: boolWhether to render as an absolute overlay instead of an inline flex row.
background: &'static strThe background color for overlay mode (empty string for transparent).
Implementations§
Source§impl EuvLoadingProps
impl EuvLoadingProps
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
pub fn get_overlay(&self) -> bool
pub fn get_mut_overlay(&mut self) -> &mut bool
pub fn set_overlay(&mut self, val: bool) -> &mut Self
pub fn get_background(&self) -> &'static str
pub fn get_mut_background(&mut self) -> &mut &'static str
pub fn set_background(&mut self, val: &'static str) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvLoadingProps
impl Clone for EuvLoadingProps
Source§fn clone(&self) -> EuvLoadingProps
fn clone(&self) -> EuvLoadingProps
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 EuvLoadingProps
impl Debug for EuvLoadingProps
Source§impl Default for EuvLoadingProps
impl Default for EuvLoadingProps
Source§fn default() -> EuvLoadingProps
fn default() -> EuvLoadingProps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EuvLoadingProps
impl RefUnwindSafe for EuvLoadingProps
impl Send for EuvLoadingProps
impl Sync for EuvLoadingProps
impl Unpin for EuvLoadingProps
impl UnsafeUnpin for EuvLoadingProps
impl UnwindSafe for EuvLoadingProps
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