Struct prototty::RichTextPart
source · Expand description
A section of text sharing a common TextInfo
.
Fields
string: String
info: TextInfo
Trait Implementations
sourceimpl Clone for RichTextPart
impl Clone for RichTextPart
sourcefn clone(&self) -> RichTextPart
fn clone(&self) -> RichTextPart
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RichTextPart
impl Debug for RichTextPart
sourceimpl<S> From<(S, TextInfo)> for RichTextPartwhere
S: Into<String>,
impl<S> From<(S, TextInfo)> for RichTextPartwhere
S: Into<String>,
sourcefn from(_: (S, TextInfo)) -> RichTextPart
fn from(_: (S, TextInfo)) -> RichTextPart
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for RichTextPart
impl Send for RichTextPart
impl Sync for RichTextPart
impl Unpin for RichTextPart
impl UnwindSafe for RichTextPart
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more