pub struct FABConfig {
pub modifier: Modifier,
pub enabled: bool,
pub container_color: Color,
pub content_color: Color,
pub state_elevation: StateElevation,
pub shape_radius: f32,
pub size: f32,
pub interaction_source: Option<MutableInteractionSource>,
}Expand description
Configuration for FAB components.
Fields§
§modifier: Modifier§enabled: bool§container_color: Color§content_color: Color§state_elevation: StateElevation§shape_radius: f32§size: f32§interaction_source: Option<MutableInteractionSource>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FABConfig
impl !Send for FABConfig
impl !Sync for FABConfig
impl !UnwindSafe for FABConfig
impl Freeze for FABConfig
impl Unpin for FABConfig
impl UnsafeUnpin for FABConfig
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