pub struct RadioButton { /* private fields */ }Implementations§
Source§impl RadioButton
impl RadioButton
pub fn new() -> Self
pub fn element_ref(self, reference: &ElementRef<Self>) -> Self
pub fn group_name(self, value: impl Into<String>) -> Self
pub fn group_name_optional<T>(self, value: Option<T>) -> Self
pub fn is_checked(self, value: impl Into<Option<bool>>) -> Self
pub fn is_enabled(self, value: impl Into<Option<bool>>) -> Self
pub fn on_checked(self, callback: impl IntoPayloadCallback<bool>) -> Self
Trait Implementations§
Source§impl Clone for RadioButton
impl Clone for RadioButton
Source§fn clone(&self) -> RadioButton
fn clone(&self) -> RadioButton
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 ContentControl for RadioButton
impl ContentControl for RadioButton
Source§impl Debug for RadioButton
impl Debug for RadioButton
Source§impl Default for RadioButton
impl Default for RadioButton
Source§fn default() -> RadioButton
fn default() -> RadioButton
Returns the “default value” for a type. Read more
impl FocusControl for RadioButton
Source§impl From<RadioButton> for View
impl From<RadioButton> for View
Source§fn from(value: RadioButton) -> Self
fn from(value: RadioButton) -> Self
Converts to this type from the input type.
Source§impl LayoutControl for RadioButton
impl LayoutControl for RadioButton
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 RadioButton
impl PartialEq for RadioButton
impl ReferenceControl for RadioButton
impl StructuralPartialEq for RadioButton
Auto Trait Implementations§
impl !RefUnwindSafe for RadioButton
impl !Send for RadioButton
impl !Sync for RadioButton
impl !UnwindSafe for RadioButton
impl Freeze for RadioButton
impl Unpin for RadioButton
impl UnsafeUnpin for RadioButton
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