Struct native_windows_gui::LabelBuilder [−][src]
pub struct LabelBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> LabelBuilder<'a>
[src]
pub fn flags(self, flags: LabelFlags) -> LabelBuilder<'a>
[src]
pub fn ex_flags(self, flags: u32) -> LabelBuilder<'a>
[src]
pub fn text(self, text: &'a str) -> LabelBuilder<'a>
[src]
pub fn size(self, size: (i32, i32)) -> LabelBuilder<'a>
[src]
pub fn position(self, pos: (i32, i32)) -> LabelBuilder<'a>
[src]
pub fn font(self, font: Option<&'a Font>) -> LabelBuilder<'a>
[src]
pub fn background_color(self, color: Option<[u8; 3]>) -> LabelBuilder<'a>
[src]
pub fn h_align(self, align: HTextAlign) -> LabelBuilder<'a>
[src]
pub fn v_align(self, align: VTextAlign) -> LabelBuilder<'a>
[src]
pub fn parent<C: Into<ControlHandle>>(self, p: C) -> LabelBuilder<'a>
[src]
pub fn build(self, out: &mut Label) -> Result<(), NwgError>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for LabelBuilder<'a>
impl<'a> !Send for LabelBuilder<'a>
impl<'a> !Sync for LabelBuilder<'a>
impl<'a> Unpin for LabelBuilder<'a>
impl<'a> UnwindSafe for LabelBuilder<'a>
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,
pub 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.
pub 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>,