#[repr(transparent)]pub struct NotificationKind(pub i32);
Tuple Fields§
§0: i32
Trait Implementations§
Source§impl Abi for NotificationKind
impl Abi for NotificationKind
Source§type Abi = NotificationKind
type Abi = NotificationKind
The abi representation of the implementing type. Read more
type DefaultType = NotificationKind
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 NotificationKind
impl Clone for NotificationKind
Source§fn clone(&self) -> NotificationKind
fn clone(&self) -> NotificationKind
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 NotificationKind
impl Debug for NotificationKind
Source§impl Default for NotificationKind
impl Default for NotificationKind
Source§fn default() -> NotificationKind
fn default() -> NotificationKind
Returns the “default value” for a type. Read more
Source§impl From<i32> for NotificationKind
impl From<i32> for NotificationKind
Source§impl PartialEq for NotificationKind
impl PartialEq for NotificationKind
impl Copy for NotificationKind
impl Eq for NotificationKind
impl StructuralPartialEq for NotificationKind
Auto Trait Implementations§
impl Freeze for NotificationKind
impl RefUnwindSafe for NotificationKind
impl Send for NotificationKind
impl Sync for NotificationKind
impl Unpin for NotificationKind
impl UnwindSafe for NotificationKind
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