#[repr(u8)]pub enum PyCodeLocationInfoKind {
Show 16 variants
Short0 = 0,
Short1 = 1,
Short2 = 2,
Short3 = 3,
Short4 = 4,
Short5 = 5,
Short6 = 6,
Short7 = 7,
Short8 = 8,
Short9 = 9,
OneLine0 = 10,
OneLine1 = 11,
OneLine2 = 12,
NoColumns = 13,
Long = 14,
None = 15,
}Expand description
CPython 3.11+ linetable location info codes
Variants§
Short0 = 0
Short1 = 1
Short2 = 2
Short3 = 3
Short4 = 4
Short5 = 5
Short6 = 6
Short7 = 7
Short8 = 8
Short9 = 9
OneLine0 = 10
OneLine1 = 11
OneLine2 = 12
NoColumns = 13
Long = 14
None = 15
Implementations§
Trait Implementations§
Source§impl Clone for PyCodeLocationInfoKind
impl Clone for PyCodeLocationInfoKind
Source§fn clone(&self) -> PyCodeLocationInfoKind
fn clone(&self) -> PyCodeLocationInfoKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PyCodeLocationInfoKind
impl Debug for PyCodeLocationInfoKind
Source§impl PartialEq for PyCodeLocationInfoKind
impl PartialEq for PyCodeLocationInfoKind
impl Copy for PyCodeLocationInfoKind
impl Eq for PyCodeLocationInfoKind
impl StructuralPartialEq for PyCodeLocationInfoKind
Auto Trait Implementations§
impl Freeze for PyCodeLocationInfoKind
impl RefUnwindSafe for PyCodeLocationInfoKind
impl Send for PyCodeLocationInfoKind
impl Sync for PyCodeLocationInfoKind
impl Unpin for PyCodeLocationInfoKind
impl UnsafeUnpin for PyCodeLocationInfoKind
impl UnwindSafe for PyCodeLocationInfoKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more