pub enum Legacy {
Level0,
Level1,
Level2,
}
Expand description
Override locale-encoding checks.
Variants
Level0
The NCurses library functions normally, rendering nonprinting characters
as described in unctrl()
.
Level1
The NCurses library ignores isprintf()
for codes in the range 160-255.
Level2
The NCurses library ignores isprintf()
for codes in the range 128-255.
It also modifies the output of unctrl()
, showing codes in the
range 128-159 as is.
Trait Implementations
impl Copy for Legacy
impl Eq for Legacy
impl StructuralEq for Legacy
impl StructuralPartialEq for Legacy
Auto Trait Implementations
impl RefUnwindSafe for Legacy
impl Send for Legacy
impl Sync for Legacy
impl Unpin for Legacy
impl UnwindSafe for Legacy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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