pub struct SnackbarConfig {
pub modifier: Modifier,
pub container_color: Color,
pub content_color: Color,
pub action_color: Color,
pub dismiss_action_content_color: Color,
pub action_on_new_line: bool,
pub shape_radius: f32,
pub min_height: f32,
pub min_width: f32,
pub max_width: f32,
}Expand description
Configuration for Snackbar.
Fields§
§modifier: Modifier§container_color: Color§content_color: Color§action_color: Color§dismiss_action_content_color: Color§action_on_new_line: bool§shape_radius: f32§min_height: f32§min_width: f32§max_width: f32Trait Implementations§
Source§impl Clone for SnackbarConfig
impl Clone for SnackbarConfig
Source§fn clone(&self) -> SnackbarConfig
fn clone(&self) -> SnackbarConfig
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 SnackbarConfig
impl Debug for SnackbarConfig
Auto Trait Implementations§
impl !RefUnwindSafe for SnackbarConfig
impl !Send for SnackbarConfig
impl !Sync for SnackbarConfig
impl !UnwindSafe for SnackbarConfig
impl Freeze for SnackbarConfig
impl Unpin for SnackbarConfig
impl UnsafeUnpin for SnackbarConfig
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