pub struct RichStringView<W: Wrap> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'a, W> View<RichTextPart<'a>> for RichStringView<W>where
W: Wrap,
impl<'a, W> View<RichTextPart<'a>> for RichStringView<W>where
W: Wrap,
fn view<F: Frame, C: ColModify>( &mut self, part: RichTextPart<'a>, context: ViewContext<C>, frame: &mut F, )
fn size<C>(&mut self, data: T, context: ViewContext<C>) -> Sizewhere
C: ColModify,
fn view_size<F, C>( &mut self, data: T, context: ViewContext<C>, frame: &mut F, ) -> Size
Auto Trait Implementations§
impl<W> Freeze for RichStringView<W>where
W: Freeze,
impl<W> RefUnwindSafe for RichStringView<W>where
W: RefUnwindSafe,
impl<W> Send for RichStringView<W>where
W: Send,
impl<W> Sync for RichStringView<W>where
W: Sync,
impl<W> Unpin for RichStringView<W>where
W: Unpin,
impl<W> UnwindSafe for RichStringView<W>where
W: UnwindSafe,
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