pub struct TermCapabilities {
pub truecolor: bool,
pub bracketed_paste: bool,
pub clipboard_osc52: bool,
pub cursor_shape: bool,
pub osc7_cwd: bool,
pub osc133_prompt: bool,
pub sixel_graphics: bool,
pub kitty_keyboard: bool,
pub synchronized_output: bool,
pub unicode_version: Option<String>,
}Expand description
Terminal capabilities discovered by probing
Fields§
§truecolor: bool§bracketed_paste: bool§clipboard_osc52: bool§cursor_shape: bool§osc7_cwd: bool§osc133_prompt: bool§sixel_graphics: bool§kitty_keyboard: bool§synchronized_output: bool§unicode_version: Option<String>Trait Implementations§
Source§impl Clone for TermCapabilities
impl Clone for TermCapabilities
Source§fn clone(&self) -> TermCapabilities
fn clone(&self) -> TermCapabilities
Returns a duplicate of the value. Read more
1.0.0 · 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 TermCapabilities
impl Debug for TermCapabilities
Source§impl Default for TermCapabilities
impl Default for TermCapabilities
Source§fn default() -> TermCapabilities
fn default() -> TermCapabilities
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TermCapabilities
impl RefUnwindSafe for TermCapabilities
impl Send for TermCapabilities
impl Sync for TermCapabilities
impl Unpin for TermCapabilities
impl UnsafeUnpin for TermCapabilities
impl UnwindSafe for TermCapabilities
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more