Struct scribl_widget::RadioGroup[][src]

pub struct RadioGroup<T: Data> { /* fields omitted */ }

Implementations

impl<T: Data> RadioGroup<T>[src]

pub fn icon_row<'a, I: IntoIterator<Item = (&'a Icon, T, LabelText<T>)>>(
    children: I,
    padding: f64
) -> Self
[src]

Creates a group of icon buttons in a row, with tooltips.

pub fn icon_column<'a, I: IntoIterator<Item = (&'a Icon, T, LabelText<T>)>>(
    children: I,
    padding: f64
) -> Self
[src]

Creates a group of icon buttons in a column, with tooltips.

pub fn column<I: IntoIterator<Item = (Box<dyn Widget<T>>, T)>>(
    children: I
) -> Self
[src]

Creates a group of buttons in a column, with custom widgets on the buttons.

Trait Implementations

impl<T: Data> Widget<T> for RadioGroup<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for RadioGroup<T>[src]

impl<T> !Send for RadioGroup<T>[src]

impl<T> !Sync for RadioGroup<T>[src]

impl<T> Unpin for RadioGroup<T> where
    T: Unpin
[src]

impl<T> !UnwindSafe for RadioGroup<T>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RoundFrom<T> for T

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, W> WidgetExt<T> for W where
    T: Data,
    W: 'static + Widget<T>, 
[src]