pub struct RichTextCtrlBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> RichTextCtrlBuilder<'a>
impl<'a> RichTextCtrlBuilder<'a>
pub fn new(parent: &'a dyn WxWidget) -> Self
Sourcepub fn with_style(self, style: RichTextCtrlStyle) -> Self
pub fn with_style(self, style: RichTextCtrlStyle) -> Self
Sets the window style flags.
Sourcepub fn with_value(self, value: &str) -> Self
pub fn with_value(self, value: &str) -> Self
Sets the $field_name.
Sourcepub fn build(self) -> RichTextCtrl
pub fn build(self) -> RichTextCtrl
Builds the widget.
Trait Implementations§
Source§impl<'a> Clone for RichTextCtrlBuilder<'a>
impl<'a> Clone for RichTextCtrlBuilder<'a>
Source§fn clone(&self) -> RichTextCtrlBuilder<'a>
fn clone(&self) -> RichTextCtrlBuilder<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> !RefUnwindSafe for RichTextCtrlBuilder<'a>
impl<'a> !Send for RichTextCtrlBuilder<'a>
impl<'a> !Sync for RichTextCtrlBuilder<'a>
impl<'a> !UnwindSafe for RichTextCtrlBuilder<'a>
impl<'a> Freeze for RichTextCtrlBuilder<'a>
impl<'a> Unpin for RichTextCtrlBuilder<'a>
impl<'a> UnsafeUnpin for RichTextCtrlBuilder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more