[][src]Struct comp_state::list::List

pub struct List<T> where
    T: Clone + 'static, 
{ pub items_map: ListKeyDenseSlotMap<T>, pub items_order: Vec<ListKey>, // some fields omitted }

Fields

items_map: ListKeyDenseSlotMap<T>items_order: Vec<ListKey>

Methods

impl<T> List<T> where
    T: Clone + 'static, 
[src]

pub fn items(&self) -> impl Iterator<Item = &T>[src]

pub fn selected(&self) -> impl Iterator<Item = &T>[src]

Trait Implementations

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

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

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

Auto Trait Implementations

impl<T> Send for List<T> where
    T: Send

impl<T> Sync for List<T> where
    T: Sync

impl<T> Unpin for List<T> where
    T: Unpin

impl<T> UnwindSafe for List<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for List<T> where
    T: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for T[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 = !

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T

impl<T> Any for T where
    T: Any
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]