pub struct ValidationButtonsConfig {
pub align: ValidationButtonsAlign,
pub order: ValidationButtonsOrder,
pub confirm_label: Option<String>,
pub cancel_label: Option<String>,
pub button_width: Option<f32>,
pub confirm_width: Option<f32>,
pub cancel_width: Option<f32>,
}Expand description
Configuration for the validation button row (Ok/Cancel).
Fields§
§align: ValidationButtonsAlignRow alignment (left/right).
order: ValidationButtonsOrderButton ordering.
confirm_label: Option<String>Optional confirm label override (defaults to “Open”/“Save”/“Select”).
cancel_label: Option<String>Optional cancel label override (defaults to “Cancel”).
Optional width applied to both buttons (in pixels).
confirm_width: Option<f32>Optional confirm button width override (in pixels).
cancel_width: Option<f32>Optional cancel button width override (in pixels).
Trait Implementations§
Source§impl Clone for ValidationButtonsConfig
impl Clone for ValidationButtonsConfig
Source§fn clone(&self) -> ValidationButtonsConfig
fn clone(&self) -> ValidationButtonsConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ValidationButtonsConfig
impl Debug for ValidationButtonsConfig
Auto Trait Implementations§
impl Freeze for ValidationButtonsConfig
impl RefUnwindSafe for ValidationButtonsConfig
impl Send for ValidationButtonsConfig
impl Sync for ValidationButtonsConfig
impl Unpin for ValidationButtonsConfig
impl UnsafeUnpin for ValidationButtonsConfig
impl UnwindSafe for ValidationButtonsConfig
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