Struct native_windows_gui::ListBoxBuilder
source · [−]Implementations
sourceimpl<'a, D: Display + Default> ListBoxBuilder<'a, D>
impl<'a, D: Display + Default> ListBoxBuilder<'a, D>
pub fn flags(self, flags: ListBoxFlags) -> ListBoxBuilder<'a, D>
pub fn ex_flags(self, flags: u32) -> ListBoxBuilder<'a, D>
pub fn size(self, size: (i32, i32)) -> ListBoxBuilder<'a, D>
pub fn position(self, pos: (i32, i32)) -> ListBoxBuilder<'a, D>
pub fn font(self, font: Option<&'a Font>) -> ListBoxBuilder<'a, D>
pub fn parent<C: Into<ControlHandle>>(self, p: C) -> ListBoxBuilder<'a, D>
pub fn collection(self, collection: Vec<D>) -> ListBoxBuilder<'a, D>
pub fn selected_index(self, index: Option<usize>) -> ListBoxBuilder<'a, D>
pub fn multi_selection(self, select: Vec<usize>) -> ListBoxBuilder<'a, D>
pub fn enabled(self, enabled: bool) -> ListBoxBuilder<'a, D>
pub fn focus(self, focus: bool) -> ListBoxBuilder<'a, D>
pub fn build(self, out: &mut ListBox<D>) -> Result<(), NwgError>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more