pub struct StructuredSegment {
pub text: String,
pub emphasis: bool,
}Expand description
One run of text within a line, with optional intra-line emphasis.
Fields§
§text: StringText for this item.
emphasis: boolEmphasis for this item.
Trait Implementations§
Source§impl Clone for StructuredSegment
impl Clone for StructuredSegment
Source§impl Debug for StructuredSegment
impl Debug for StructuredSegment
impl Eq for StructuredSegment
Source§impl PartialEq for StructuredSegment
impl PartialEq for StructuredSegment
impl StructuralPartialEq for StructuredSegment
Auto Trait Implementations§
impl Freeze for StructuredSegment
impl RefUnwindSafe for StructuredSegment
impl Send for StructuredSegment
impl Sync for StructuredSegment
impl Unpin for StructuredSegment
impl UnsafeUnpin for StructuredSegment
impl UnwindSafe for StructuredSegment
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