pub struct TextParts<'a> {
pub bytes: &'a Bytes,
pub tags: Tags<'a>,
pub selections: &'a Selections,
}Expand description
The Parts that make up a Text
Fields§
§bytes: &'a Bytes§selections: &'a SelectionsThe Selections of the Text
For most Widgets, there should be no Selection, since
they are just visual.
Auto Trait Implementations§
impl<'a> Freeze for TextParts<'a>
impl<'a> !RefUnwindSafe for TextParts<'a>
impl<'a> !Send for TextParts<'a>
impl<'a> !Sync for TextParts<'a>
impl<'a> Unpin for TextParts<'a>
impl<'a> !UnwindSafe for TextParts<'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