pub struct SyntaError(/* private fields */);Implementations§
Source§impl SyntaError
impl SyntaError
Trait Implementations§
impl DerefToPyAny for SyntaError
Source§impl PyTypeInfo for SyntaError
impl PyTypeInfo for SyntaError
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
Source§fn type_object(py: Python<'_>) -> Bound<'_, PyType>
fn type_object(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
impl ToPyErr for SyntaError
Auto Trait Implementations§
impl !Freeze for SyntaError
impl !RefUnwindSafe for SyntaError
impl !Send for SyntaError
impl !Sync for SyntaError
impl Unpin for SyntaError
impl UnsafeUnpin for SyntaError
impl UnwindSafe for SyntaError
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> PyTypeCheck for Twhere
T: PyTypeInfo,
impl<T> PyTypeCheck for Twhere
T: PyTypeInfo,
Source§const NAME: &'static str = T::NAME
const NAME: &'static str = T::NAME
👎Deprecated since 0.27.0:
Use ::classinfo_object() instead and format the type name at runtime. Note that using built-in cast features is often better than manual PyTypeCheck usage.
Name of self. This is used in error messages, for example.