pub struct ColoredString {
pub text: String,
/* private fields */
}Fields§
§text: StringTrait Implementations§
Source§impl AsRef<str> for ColoredString
impl AsRef<str> for ColoredString
Source§impl Clone for ColoredString
impl Clone for ColoredString
Source§fn clone(&self) -> ColoredString
fn clone(&self) -> ColoredString
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColoredString
impl Debug for ColoredString
Auto Trait Implementations§
impl Freeze for ColoredString
impl RefUnwindSafe for ColoredString
impl Send for ColoredString
impl Sync for ColoredString
impl Unpin for ColoredString
impl UnsafeUnpin for ColoredString
impl UnwindSafe for ColoredString
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