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.
Variants
LCCtype
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 From<CoerceCLocale> for String
impl From<CoerceCLocale> for String
sourcefn from(v: CoerceCLocale) -> Self
fn from(v: CoerceCLocale) -> Self
Performs the conversion.
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
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