pub struct RadioButtons { /* private fields */ }Implementations§
Source§impl RadioButtons
impl RadioButtons
pub fn new() -> Self
pub fn items_source<I, S>(self, value: I) -> Self
pub fn items_source_optional<I, S>(self, value: Option<I>) -> Self
pub fn selected_index(self, value: impl Into<Option<usize>>) -> Self
pub fn max_columns(self, value: impl Into<Option<i32>>) -> Self
pub fn on_selection_changed( self, callback: impl IntoPayloadCallback<Option<usize>>, ) -> Self
Trait Implementations§
Source§impl Clone for RadioButtons
impl Clone for RadioButtons
Source§fn clone(&self) -> RadioButtons
fn clone(&self) -> RadioButtons
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 RadioButtons
impl Debug for RadioButtons
Source§impl Default for RadioButtons
impl Default for RadioButtons
Source§fn default() -> RadioButtons
fn default() -> RadioButtons
Returns the “default value” for a type. Read more
Source§impl From<RadioButtons> for View
impl From<RadioButtons> for View
Source§fn from(value: RadioButtons) -> Self
fn from(value: RadioButtons) -> Self
Converts to this type from the input type.
Source§impl LayoutControl for RadioButtons
impl LayoutControl for RadioButtons
fn width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn opacity(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn horizontal_alignment(
self,
value: impl Into<Option<HorizontalAlignment>>,
) -> Selfwhere
Self: Sized,
fn vertical_alignment(self, value: impl Into<Option<VerticalAlignment>>) -> Selfwhere
Self: Sized,
fn margin(self, value: impl Into<Thickness>) -> Selfwhere
Self: Sized,
fn margin_optional<T>(self, value: Option<T>) -> Self
fn exit_transition(self, transition: ExitTransition) -> Selfwhere
Self: Sized,
Source§impl PartialEq for RadioButtons
impl PartialEq for RadioButtons
Source§impl SlotsControl for RadioButtons
impl SlotsControl for RadioButtons
impl StructuralPartialEq for RadioButtons
Auto Trait Implementations§
impl !RefUnwindSafe for RadioButtons
impl !Send for RadioButtons
impl !Sync for RadioButtons
impl !UnwindSafe for RadioButtons
impl Freeze for RadioButtons
impl Unpin for RadioButtons
impl UnsafeUnpin for RadioButtons
Blanket Implementations§
Source§impl<T> AutomationExt for Twhere
T: LayoutControl,
impl<T> AutomationExt for Twhere
T: LayoutControl,
fn automation_name(self, value: impl Into<String>) -> Self
fn automation_id(self, value: impl Into<String>) -> Self
fn automation_heading_level(self, value: AutomationHeadingLevel) -> Self
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