[][src]Struct native_windows_gui::ComboBoxBuilder

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

Implementations

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

pub fn flags(mut self: Self, flags: ComboBoxFlags) -> ComboBoxBuilder<'a, D>[src]

pub fn ex_flags(mut self: Self, flags: u32) -> ComboBoxBuilder<'a, D>[src]

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

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

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

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

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

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

pub fn enabled(mut self: Self, e: bool) -> ComboBoxBuilder<'a, D>[src]

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

pub fn v_align(mut self: Self, align: VTextAlign) -> ComboBoxBuilder<'a, D>[src]

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

Auto Trait Implementations

impl<'a, D> RefUnwindSafe for ComboBoxBuilder<'a, D> where
    D: RefUnwindSafe
[src]

impl<'a, D> !Send for ComboBoxBuilder<'a, D>[src]

impl<'a, D> !Sync for ComboBoxBuilder<'a, D>[src]

impl<'a, D> Unpin for ComboBoxBuilder<'a, D> where
    D: Unpin
[src]

impl<'a, D> UnwindSafe for ComboBoxBuilder<'a, D> where
    D: UnwindSafe
[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, 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.