Struct makepad_widgets::radio_button::RadioButtonSet
source · pub struct RadioButtonSet(/* private fields */);
Implementations§
source§impl RadioButtonSet
impl RadioButtonSet
pub fn has_widget(&self, widget: &WidgetRef) -> RadioButtonRef
source§impl RadioButtonSet
impl RadioButtonSet
pub fn iter(&self) -> RadioButtonSetIterator<'_> ⓘ
source§impl RadioButtonSet
impl RadioButtonSet
pub fn selected(&self, cx: &mut Cx, actions: &WidgetActions) -> Option<usize>
pub fn selected_to_visible( &self, cx: &mut Cx, ui: &WidgetRef, actions: &WidgetActions, paths: &[&[LiveId]] )
Methods from Deref<Target = WidgetSet>§
pub fn is_empty(&mut self) -> bool
pub fn push(&mut self, item: WidgetRef)
pub fn extend_from_set(&mut self, other: &WidgetSet)
pub fn widgets(&self, paths: &[&[LiveId]]) -> WidgetSet
pub fn contains(&self, widget: &WidgetRef) -> bool
pub fn iter(&self) -> WidgetSetIterator<'_> ⓘ
pub fn set_text(&self, v: &str)
pub fn set_text_and_redraw(&self, cx: &mut Cx, v: &str)
Trait Implementations§
source§impl Clone for RadioButtonSet
impl Clone for RadioButtonSet
source§fn clone(&self) -> RadioButtonSet
fn clone(&self) -> RadioButtonSet
Returns a copy 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 Deref for RadioButtonSet
impl Deref for RadioButtonSet
Auto Trait Implementations§
impl !RefUnwindSafe for RadioButtonSet
impl !Send for RadioButtonSet
impl !Sync for RadioButtonSet
impl Unpin for RadioButtonSet
impl !UnwindSafe for RadioButtonSet
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