pub struct RichTextBox { /* private fields */ }Expand description
A patchable attributed-text builder matching StyledTextProps::new(...) defaults.
Implementations§
Source§impl RichTextBox
impl RichTextBox
pub fn new(rich: AttributedText) -> Self
Trait Implementations§
Source§impl Clone for RichTextBox
impl Clone for RichTextBox
Source§fn clone(&self) -> RichTextBox
fn clone(&self) -> RichTextBox
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RichTextBox
impl Debug for RichTextBox
Source§impl<H: UiHost> IntoUiElement<H> for RichTextBox
impl<H: UiHost> IntoUiElement<H> for RichTextBox
fn into_element(self, cx: &mut ElementContext<'_, H>) -> AnyElement
Source§impl UiPatchTarget for RichTextBox
impl UiPatchTarget for RichTextBox
Source§fn apply_ui_patch(self, patch: UiPatch) -> Self
fn apply_ui_patch(self, patch: UiPatch) -> Self
Applies an aggregated authoring patch (chrome + layout) and returns the refined value. Read more
impl UiSupportsLayout for RichTextBox
Auto Trait Implementations§
impl Freeze for RichTextBox
impl RefUnwindSafe for RichTextBox
impl Send for RichTextBox
impl Sync for RichTextBox
impl Unpin for RichTextBox
impl UnsafeUnpin for RichTextBox
impl UnwindSafe for RichTextBox
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