pub enum TerminfoResolution {
Dynamic,
None,
Static(String),
}
Expand description
Defines `terminfo`` database resolution semantics.
Variants
Dynamic
Resolve terminfo
database using appropriate behavior for current OS.
None
Do not attempt to resolve the terminfo
database. Basically a no-op.
Static(String)
Use a specified string as the TERMINFO_DIRS
value.
Trait Implementations
sourceimpl Clone for TerminfoResolution
impl Clone for TerminfoResolution
sourcefn clone(&self) -> TerminfoResolution
fn clone(&self) -> TerminfoResolution
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 TerminfoResolution
impl Debug for TerminfoResolution
sourceimpl From<TerminfoResolution> for String
impl From<TerminfoResolution> for String
sourcefn from(t: TerminfoResolution) -> Self
fn from(t: TerminfoResolution) -> Self
Performs the conversion.
sourceimpl PartialEq<TerminfoResolution> for TerminfoResolution
impl PartialEq<TerminfoResolution> for TerminfoResolution
sourcefn eq(&self, other: &TerminfoResolution) -> bool
fn eq(&self, other: &TerminfoResolution) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TerminfoResolution) -> bool
fn ne(&self, other: &TerminfoResolution) -> bool
This method tests for !=
.
sourceimpl ToString for TerminfoResolution
impl ToString for TerminfoResolution
sourceimpl TryFrom<&'_ str> for TerminfoResolution
impl TryFrom<&'_ str> for TerminfoResolution
sourceimpl TryFrom<String> for TerminfoResolution
impl TryFrom<String> for TerminfoResolution
impl StructuralPartialEq for TerminfoResolution
Auto Trait Implementations
impl RefUnwindSafe for TerminfoResolution
impl Send for TerminfoResolution
impl Sync for TerminfoResolution
impl Unpin for TerminfoResolution
impl UnwindSafe for TerminfoResolution
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more