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