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
sourceimpl 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
sourceimpl ProbeHints
impl ProbeHints
pub fn new_from_env() -> Self
Trait Implementations
sourceimpl Clone for ProbeHints
impl Clone for ProbeHints
sourcefn clone(&self) -> ProbeHints
fn clone(&self) -> ProbeHints
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ProbeHints
impl Debug for ProbeHints
sourceimpl Default for ProbeHints
impl Default for ProbeHints
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more