pub struct SegmentedButtonConfig {
pub modifier: Modifier,
pub border_color: Color,
pub selected_container_color: Color,
pub selected_content_color: Color,
pub unselected_content_color: Color,
pub state_colors: StateColors,
pub height: f32,
pub shape_radius: f32,
pub content_padding: PaddingValues,
}Expand description
Configuration for SegmentedButton.
Fields§
§modifier: Modifier§border_color: Color§selected_container_color: Color§selected_content_color: Color§unselected_content_color: Color§state_colors: StateColors§height: f32§shape_radius: f32§content_padding: PaddingValuesTrait Implementations§
Source§impl Clone for SegmentedButtonConfig
impl Clone for SegmentedButtonConfig
Source§fn clone(&self) -> SegmentedButtonConfig
fn clone(&self) -> SegmentedButtonConfig
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 SegmentedButtonConfig
impl Debug for SegmentedButtonConfig
Auto Trait Implementations§
impl !RefUnwindSafe for SegmentedButtonConfig
impl !Send for SegmentedButtonConfig
impl !Sync for SegmentedButtonConfig
impl !UnwindSafe for SegmentedButtonConfig
impl Freeze for SegmentedButtonConfig
impl Unpin for SegmentedButtonConfig
impl UnsafeUnpin for SegmentedButtonConfig
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