pub struct Inline {
pub text: String,
pub bold: bool,
pub italic: bool,
}Expand description
A run of same-styled text within a line. text already carries the
spaces the word-gap rule inserted, so rendering a line is concatenation.
Fields§
§text: String§bold: bool§italic: boolTrait Implementations§
impl StructuralPartialEq for Inline
Auto Trait Implementations§
impl Freeze for Inline
impl RefUnwindSafe for Inline
impl Send for Inline
impl Sync for Inline
impl Unpin for Inline
impl UnsafeUnpin for Inline
impl UnwindSafe for Inline
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