#[repr(u32)]pub enum CErrorCode {
Null = 0,
Panic = 1,
Utf8 = 2,
Cast = 3,
Swift = 4,
}
Expand description
cbindgen:add-sentinel
Variants§
Trait Implementations§
Source§impl Clone for CErrorCode
impl Clone for CErrorCode
Source§fn clone(&self) -> CErrorCode
fn clone(&self) -> CErrorCode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CErrorCode
impl Debug for CErrorCode
Source§impl ErrorCode for CErrorCode
impl ErrorCode for CErrorCode
Source§impl Ord for CErrorCode
impl Ord for CErrorCode
Source§fn cmp(&self, other: &CErrorCode) -> Ordering
fn cmp(&self, other: &CErrorCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CErrorCode
impl PartialEq for CErrorCode
Source§impl PartialOrd for CErrorCode
impl PartialOrd for CErrorCode
impl Copy for CErrorCode
impl Eq for CErrorCode
impl StructuralPartialEq for CErrorCode
Auto Trait Implementations§
impl Freeze for CErrorCode
impl RefUnwindSafe for CErrorCode
impl Send for CErrorCode
impl Sync for CErrorCode
impl Unpin for CErrorCode
impl UnwindSafe for CErrorCode
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