[][src]Struct native_windows_gui::ListBoxBuilder

pub struct ListBoxBuilder<'a, D: Display + Default> { /* fields omitted */ }

Implementations

impl<'a, D: Display + Default> ListBoxBuilder<'a, D>[src]

pub fn flags(self, flags: ListBoxFlags) -> ListBoxBuilder<'a, D>[src]

pub fn size(self, size: (i32, i32)) -> ListBoxBuilder<'a, D>[src]

pub fn position(self, pos: (i32, i32)) -> ListBoxBuilder<'a, D>[src]

pub fn font(self, font: Option<&'a Font>) -> ListBoxBuilder<'a, D>[src]

pub fn parent<C: Into<ControlHandle>>(self, p: C) -> ListBoxBuilder<'a, D>[src]

pub fn collection(self, collection: Vec<D>) -> ListBoxBuilder<'a, D>[src]

pub fn selected_index(self, index: Option<usize>) -> ListBoxBuilder<'a, D>[src]

pub fn multi_selection(self, select: Vec<usize>) -> ListBoxBuilder<'a, D>[src]

pub fn enabled(self, enabled: bool) -> ListBoxBuilder<'a, D>[src]

pub fn focus(self, focus: bool) -> ListBoxBuilder<'a, D>[src]

pub fn build(self, out: &mut ListBox<D>) -> Result<(), NwgError>[src]

Auto Trait Implementations

impl<'a, D> RefUnwindSafe for ListBoxBuilder<'a, D> where
    D: RefUnwindSafe

impl<'a, D> !Send for ListBoxBuilder<'a, D>

impl<'a, D> !Sync for ListBoxBuilder<'a, D>

impl<'a, D> Unpin for ListBoxBuilder<'a, D> where
    D: Unpin

impl<'a, D> UnwindSafe for ListBoxBuilder<'a, D> where
    D: UnwindSafe

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, 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.