Struct termwiz::caps::ProbeHints
source · pub struct ProbeHints { /* private fields */ }
Expand description
Use the ProbeHints
to configure an instance of
the ProbeHints
struct. ProbeHints
are passed to the Capabilities
constructor to influence the effective set of terminal capabilities.
Implementations§
source§impl ProbeHints
impl ProbeHints
pub fn term(self, value: Option<String>) -> Self
pub fn colorterm(self, value: Option<String>) -> Self
pub fn term_program(self, value: Option<String>) -> Self
pub fn color_level(self, value: Option<ColorLevel>) -> Self
pub fn term_program_version(self, value: Option<String>) -> Self
pub fn hyperlinks(self, value: Option<bool>) -> Self
pub fn sixel(self, value: Option<bool>) -> Self
pub fn iterm2_image(self, value: Option<bool>) -> Self
pub fn bce(self, value: Option<bool>) -> Self
pub fn colorterm_bce(self, value: Option<String>) -> Self
pub fn terminfo_db(self, value: Option<Database>) -> Self
pub fn bracketed_paste(self, value: Option<bool>) -> Self
pub fn mouse_reporting(self, value: Option<bool>) -> Self
pub fn force_terminfo_render_to_use_ansi_sgr(self, value: Option<bool>) -> Self
source§impl ProbeHints
impl ProbeHints
pub fn new_from_env() -> Self
Trait Implementations§
source§impl Clone for ProbeHints
impl Clone for ProbeHints
source§fn clone(&self) -> ProbeHints
fn clone(&self) -> ProbeHints
Returns a copy 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 ProbeHints
impl Debug for ProbeHints
source§impl Default for ProbeHints
impl Default for ProbeHints
source§fn default() -> ProbeHints
fn default() -> ProbeHints
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ProbeHints
impl Send for ProbeHints
impl Sync for ProbeHints
impl Unpin for ProbeHints
impl UnwindSafe for ProbeHints
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