Struct HelixError
#[repr(transparent)]pub struct HelixError(pub(crate) PyAny);Expand description
Base for every failure originating in the helixrs core.
Tuple Fields§
§0: PyAnyImplementations§
§impl HelixError
impl HelixError
§impl HelixError
impl HelixError
pub(crate) fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Trait Implementations§
§impl AsRef<PyAny> for HelixError
impl AsRef<PyAny> for HelixError
§impl Deref for HelixError
impl Deref for HelixError
impl DerefToPyAny for HelixError
§impl PyTypeInfo for HelixError
impl PyTypeInfo for HelixError
§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
§fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
§fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_type_of_bound(object: &Bound<'_, PyAny>) -> bool
Checks if
object is an instance of this type or a subclass of this type.§fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool
fn is_exact_type_of_bound(object: &Bound<'_, PyAny>) -> bool
Checks if
object is an instance of this type.impl ToPyErr for HelixError
Auto Trait Implementations§
impl !Freeze for HelixError
impl !RefUnwindSafe for HelixError
impl !Send for HelixError
impl !Sync for HelixError
impl Unpin for HelixError
impl UnsafeUnpin for HelixError
impl UnwindSafe for HelixError
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