pub struct RadioGroup;
Expand description
A group of radio buttons
Implementations§
§impl RadioGroup
impl RadioGroup
pub fn column<T>(
variants: impl IntoIterator<Item = (impl Into<LabelText<T>> + 'static, T)>
) -> impl Widget<T>where
T: Data + PartialEq<T>,
pub fn column<T>( variants: impl IntoIterator<Item = (impl Into<LabelText<T>> + 'static, T)> ) -> impl Widget<T>where T: Data + PartialEq<T>,
Given a vector of (label_text, enum_variant)
tuples, create a group of Radio buttons
along the vertical axis.
Trait Implementations§
§impl Clone for RadioGroup
impl Clone for RadioGroup
§fn clone(&self) -> RadioGroup
fn clone(&self) -> RadioGroup
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 moreAuto Trait Implementations§
impl RefUnwindSafe for RadioGroup
impl Send for RadioGroup
impl Sync for RadioGroup
impl Unpin for RadioGroup
impl UnwindSafe for RadioGroup
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.