Struct term_rustdoc::tree::Text
source · pub struct Text {
pub text: XString,
pub style: Style,
}
Expand description
Onwed ratatui::text::Span
, mainly being a small styled string.
Fields§
§text: XString
§style: Style
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Text
impl Send for Text
impl Sync for Text
impl Unpin for Text
impl UnwindSafe for Text
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