Struct carbide_controls::List[][src]

pub struct List<GS, T> where
    GS: GlobalState,
    T: ListIndex + 'static, 
{ /* fields omitted */ }

Implementations

impl<GS: GlobalState, T: ListIndex + 'static> List<GS, T>[src]

pub fn new(
    delegate: Box<dyn Widget<GS>>,
    model: Box<dyn State<Vec<T>, GS>>
) -> Box<Self>
[src]

pub fn id_state(self, state: Box<dyn State<T, GS>>) -> Box<Self>[src]

pub fn index_state(self, state: Box<dyn State<usize, GS>>) -> Box<Self>[src]

Trait Implementations

impl<GS: GlobalState, T: ListIndex> ChildRender for List<GS, T>[src]

impl<GS: Clone, T: Clone> Clone for List<GS, T> where
    GS: GlobalState,
    T: ListIndex + 'static, 
[src]

impl<GS: GlobalState, T: ListIndex> CommonWidget<GS> for List<GS, T>[src]

impl<T, GS: GlobalState> Event<GS> for List<GS, T> where
    T: ListIndex + 'static, 
[src]

impl<GS: GlobalState, T: ListIndex> Layout<GS> for List<GS, T>[src]

impl<T, GS: GlobalState> StateSync<GS> for List<GS, T> where
    T: ListIndex + 'static, 
[src]

impl<T, GS: GlobalState> Widget<GS> for List<GS, T> where
    T: ListIndex + 'static, 
[src]

impl<GS: GlobalState, T: ListIndex + 'static> WidgetExt<GS> for List<GS, T>[src]

Auto Trait Implementations

impl<GS, T> !RefUnwindSafe for List<GS, T>[src]

impl<GS, T> !Send for List<GS, T>[src]

impl<GS, T> !Sync for List<GS, T>[src]

impl<GS, T> Unpin for List<GS, T>[src]

impl<GS, T> !UnwindSafe for List<GS, 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> DynClone for T where
    T: Clone
[src]

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

impl<T> Instrument for T[src]

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

impl<T, U> Render<U> for T where
    T: CommonWidget<U> + ChildRender,
    U: GlobalState
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,