#[repr(transparent)]pub struct UErrorCode(pub i32);
Tuple Fields§
§0: i32
Trait Implementations§
Source§impl Abi for UErrorCode
impl Abi for UErrorCode
Source§type Abi = UErrorCode
type Abi = UErrorCode
The abi representation of the implementing type. Read more
type DefaultType = UErrorCode
Source§fn ok(value: &Self::DefaultType) -> Result<Self, Error>
fn ok(value: &Self::DefaultType) -> Result<Self, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for UErrorCode
impl Clone for UErrorCode
Source§fn clone(&self) -> UErrorCode
fn clone(&self) -> UErrorCode
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 UErrorCode
impl Debug for UErrorCode
Source§impl Default for UErrorCode
impl Default for UErrorCode
Source§fn default() -> UErrorCode
fn default() -> UErrorCode
Returns the “default value” for a type. Read more
Source§impl From<i32> for UErrorCode
impl From<i32> for UErrorCode
Source§impl PartialEq for UErrorCode
impl PartialEq for UErrorCode
impl Copy for UErrorCode
impl Eq for UErrorCode
impl StructuralPartialEq for UErrorCode
Auto Trait Implementations§
impl Freeze for UErrorCode
impl RefUnwindSafe for UErrorCode
impl Send for UErrorCode
impl Sync for UErrorCode
impl Unpin for UErrorCode
impl UnwindSafe for UErrorCode
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