#[repr(C)]
pub struct PySyntaxErrorObject { pub exception_base: PyBaseExceptionObject, pub msg: *mut PyObject, pub filename: *mut PyObject, pub lineno: *mut PyObject, pub offset: *mut PyObject, pub text: *mut PyObject, pub print_file_and_line: *mut PyObject, }

Fields

exception_base: PyBaseExceptionObjectmsg: *mut PyObjectfilename: *mut PyObjectlineno: *mut PyObjectoffset: *mut PyObjecttext: *mut PyObjectprint_file_and_line: *mut PyObject

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.