Enum rustpython_common::str::PyStrKind
source · pub enum PyStrKind {
Ascii,
Utf8,
}
Expand description
Utf8 + state.ascii (+ PyUnicode_Kind in future)
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for PyStrKind
impl PartialEq for PyStrKind
impl Copy for PyStrKind
impl StructuralPartialEq for PyStrKind
Auto Trait Implementations§
impl Freeze for PyStrKind
impl RefUnwindSafe for PyStrKind
impl Send for PyStrKind
impl Sync for PyStrKind
impl Unpin for PyStrKind
impl UnwindSafe for PyStrKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more