#[repr(transparent)]pub struct ErrorCode(pub c_int);
Tuple Fields
0: c_int
Implementations
sourceimpl ErrorCode
impl ErrorCode
pub const AssetDefNotFound: ErrorCode
sourceimpl ErrorCode
impl ErrorCode
pub const PythonNodeError: ErrorCode
Trait Implementations
sourceimpl BitAndAssign<ErrorCode> for ErrorCode
impl BitAndAssign<ErrorCode> for ErrorCode
sourcefn bitand_assign(&mut self, rhs: ErrorCode)
fn bitand_assign(&mut self, rhs: ErrorCode)
Performs the &=
operation. Read more
sourceimpl BitOrAssign<ErrorCode> for ErrorCode
impl BitOrAssign<ErrorCode> for ErrorCode
sourcefn bitor_assign(&mut self, rhs: ErrorCode)
fn bitor_assign(&mut self, rhs: ErrorCode)
Performs the |=
operation. Read more
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralEq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more