pub struct AssetBuilderError;Implementations§
Source§impl AssetBuilderError
impl AssetBuilderError
pub fn py_err<T: ToPyObject + 'static>(args: T) -> PyErr
pub fn into<R, T: ToPyObject + 'static>(args: T) -> PyResult<R>
Trait Implementations§
Source§impl From<AssetBuilderError> for PyErr
impl From<AssetBuilderError> for PyErr
Source§fn from(_err: AssetBuilderError) -> PyErr
fn from(_err: AssetBuilderError) -> PyErr
Converts to this type from the input type.
Source§impl PyTypeObject for AssetBuilderError
impl PyTypeObject for AssetBuilderError
Source§fn init_type() -> NonNull<PyTypeObject>
fn init_type() -> NonNull<PyTypeObject>
This function must make sure that the corresponding type object gets
initialized exactly once and return it.
Source§fn type_object() -> Py<PyType>
fn type_object() -> Py<PyType>
Returns the safe abstraction over the type object from PyTypeObject::init_type
Auto Trait Implementations§
impl Freeze for AssetBuilderError
impl RefUnwindSafe for AssetBuilderError
impl Send for AssetBuilderError
impl Sync for AssetBuilderError
impl Unpin for AssetBuilderError
impl UnwindSafe for AssetBuilderError
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