pub struct Styled<T: ?Sized> { /* private fields */ }Expand description
Some content with a particular style applied.
See also write_styled and Stylize.
Implementations§
Trait Implementations§
impl<T: Eq + ?Sized> Eq for Styled<T>
impl<T: ?Sized> StructuralPartialEq for Styled<T>
Auto Trait Implementations§
impl<T> Freeze for Styled<T>
impl<T> RefUnwindSafe for Styled<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for Styled<T>
impl<T> Sync for Styled<T>
impl<T> Unpin for Styled<T>
impl<T> UnwindSafe for Styled<T>where
T: UnwindSafe + ?Sized,
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