[−][src]Struct native_windows_gui::ListBoxBuilder
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,
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,
D: Unpin,
impl<'a, D> UnwindSafe for ListBoxBuilder<'a, D> where
D: UnwindSafe,
D: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,