Enum pyembed::CoerceCLocale
source · [−]pub enum CoerceCLocale {
LCCtype,
C,
}
Expand description
Holds values for coerce_c_locale
.
See https://docs.python.org/3/c-api/init_config.html#c.PyPreConfig.coerce_c_locale.
Serialization type: string
Variants
LCCtype
Read the LC_CTYPE locale to decide if it should be coerced.
Serialized value: LC_CTYPE
C
Coerce the C locale.
Serialized value: C
Trait Implementations
sourceimpl Clone for CoerceCLocale
impl Clone for CoerceCLocale
sourcefn clone(&self) -> CoerceCLocale
fn clone(&self) -> CoerceCLocale
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 CoerceCLocale
impl Debug for CoerceCLocale
sourceimpl PartialEq<CoerceCLocale> for CoerceCLocale
impl PartialEq<CoerceCLocale> for CoerceCLocale
sourceimpl ToString for CoerceCLocale
impl ToString for CoerceCLocale
sourceimpl<'_> TryFrom<&'_ str> for CoerceCLocale
impl<'_> TryFrom<&'_ str> for CoerceCLocale
sourceimpl TryFrom<String> for CoerceCLocale
impl TryFrom<String> for CoerceCLocale
impl Copy for CoerceCLocale
impl StructuralPartialEq for CoerceCLocale
Auto Trait Implementations
impl RefUnwindSafe for CoerceCLocale
impl Send for CoerceCLocale
impl Sync for CoerceCLocale
impl Unpin for CoerceCLocale
impl UnwindSafe for CoerceCLocale
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