#[repr(C)]pub struct _PyCompilerSrcLocation {
pub lineno: c_int,
pub end_lineno: c_int,
pub col_offset: c_int,
pub end_col_offset: c_int,
}
Fields§
§lineno: c_int
§end_lineno: c_int
§col_offset: c_int
§end_col_offset: c_int
Trait Implementations§
Source§impl Clone for _PyCompilerSrcLocation
impl Clone for _PyCompilerSrcLocation
Source§fn clone(&self) -> _PyCompilerSrcLocation
fn clone(&self) -> _PyCompilerSrcLocation
Returns a copy 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 moreimpl Copy for _PyCompilerSrcLocation
Auto Trait Implementations§
impl Freeze for _PyCompilerSrcLocation
impl RefUnwindSafe for _PyCompilerSrcLocation
impl Send for _PyCompilerSrcLocation
impl Sync for _PyCompilerSrcLocation
impl Unpin for _PyCompilerSrcLocation
impl UnwindSafe for _PyCompilerSrcLocation
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