[−][src]Struct crossterm::style::PrintStyledContent
A command that prints styled content.
See StyledContent
for more info.
Notes
Commands must be executed/queued for execution otherwise they do nothing.
Trait Implementations
impl<D: Clone + Display> Clone for PrintStyledContent<D>
[src]
pub fn clone(&self) -> PrintStyledContent<D>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<D: Display> Command for PrintStyledContent<D>
[src]
pub fn write_ansi(&self, f: &mut impl Write) -> Result
[src]
pub fn execute_winapi(&self, _writer: impl FnMut() -> Result<()>) -> Result<()>
[src]
pub fn is_ansi_code_supported(&self) -> bool
[src]
impl<D: Copy + Display> Copy for PrintStyledContent<D>
[src]
impl<D: Debug + Display> Debug for PrintStyledContent<D>
[src]
impl Display for PrintStyledContent<String>
[src]
impl Display for PrintStyledContent<&'static str>
[src]
Auto Trait Implementations
impl<D> RefUnwindSafe for PrintStyledContent<D> where
D: RefUnwindSafe,
[src]
D: RefUnwindSafe,
impl<D> Send for PrintStyledContent<D> where
D: Send,
[src]
D: Send,
impl<D> Sync for PrintStyledContent<D> where
D: Sync,
[src]
D: Sync,
impl<D> Unpin for PrintStyledContent<D> where
D: Unpin,
[src]
D: Unpin,
impl<D> UnwindSafe for PrintStyledContent<D> where
D: UnwindSafe,
[src]
D: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,