pub struct InlineSegment {
pub text: String,
pub style: Arc<InlineTextStyle>,
}Expand description
A styled text segment with shared style.
Fields§
§text: String§style: Arc<InlineTextStyle>Trait Implementations§
Source§impl Clone for InlineSegment
impl Clone for InlineSegment
Source§impl Debug for InlineSegment
impl Debug for InlineSegment
Auto Trait Implementations§
impl Freeze for InlineSegment
impl RefUnwindSafe for InlineSegment
impl Send for InlineSegment
impl Sync for InlineSegment
impl Unpin for InlineSegment
impl UnsafeUnpin for InlineSegment
impl UnwindSafe for InlineSegment
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